@larva.io/webcomponents
Version:
Fentrica SmartUnits WebComponents package
39 lines (35 loc) • 1.17 kB
JavaScript
/*!
* (C) Fentrica http://fentrica.com - Seee LICENSE.md
*/
import { p as proxyCustomElement, H, h } from './p-AOwgnAK2.js';
const listCss = "slot-fb[hidden],slot[hidden]{display:initial !important}lar-list-item{margin:0.4rem 0}";
const ListItem = /*@__PURE__*/ proxyCustomElement(class ListItem extends H {
constructor(registerHost) {
super();
if (registerHost !== false) {
this.__registerHost();
}
}
render() {
return h("slot", { key: 'd99316604ee11f90ca81375df7b4ca9d9a2c7765' });
}
get el() { return this; }
static get style() { return listCss; }
}, [260, "lar-list"]);
function defineCustomElement() {
if (typeof customElements === "undefined") {
return;
}
const components = ["lar-list"];
components.forEach(tagName => { switch (tagName) {
case "lar-list":
if (!customElements.get(tagName)) {
customElements.define(tagName, ListItem);
}
break;
} });
}
defineCustomElement();
export { ListItem as L, defineCustomElement as d };
//# sourceMappingURL=p-p5eBnhDi.js.map
//# sourceMappingURL=p-p5eBnhDi.js.map