ion-row.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*!
  2. * (C) Ionic http://ionicframework.com - MIT License
  3. */
  4. import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
  5. import { b as getIonMode } from './ionic-global.js';
  6. const rowCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}";
  7. const IonRowStyle0 = rowCss;
  8. const Row = /*@__PURE__*/ proxyCustomElement(class Row extends HTMLElement {
  9. constructor() {
  10. super();
  11. this.__registerHost();
  12. this.__attachShadow();
  13. }
  14. render() {
  15. return (h(Host, { key: 'a690022e2abdce6946d24264574e4aa0886a8ea5', class: getIonMode(this) }, h("slot", { key: 'd1a0e831dd1dbfe7877d3ad01d0a3045a5fb29e3' })));
  16. }
  17. static get style() { return IonRowStyle0; }
  18. }, [1, "ion-row"]);
  19. function defineCustomElement$1() {
  20. if (typeof customElements === "undefined") {
  21. return;
  22. }
  23. const components = ["ion-row"];
  24. components.forEach(tagName => { switch (tagName) {
  25. case "ion-row":
  26. if (!customElements.get(tagName)) {
  27. customElements.define(tagName, Row);
  28. }
  29. break;
  30. } });
  31. }
  32. const IonRow = Row;
  33. const defineCustomElement = defineCustomElement$1;
  34. export { IonRow, defineCustomElement };