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