@salla.sa/twilight-components
Version:
Salla Web Component
34 lines (30 loc) • 1.13 kB
JavaScript
/*!
* Crafted with ❤ by Salla
*/
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
const sallaAccordionBodyCss = "";
const SallaAccordionBody = /*@__PURE__*/ proxyCustomElement(class SallaAccordionBody extends HTMLElement {
constructor() {
super();
this.__registerHost();
}
render() {
return (h(Host, { key: '298d42a5bf1bcefdb181ec35060220cf749b56ed', class: "s-accordion-body-wrapper" }, h("slot", { key: '6ab081e8b71b5dc69fb66fbdec82b4725ab53b0d' })));
}
static get style() { return sallaAccordionBodyCss; }
}, [4, "salla-accordion-body"]);
function defineCustomElement() {
if (typeof customElements === "undefined") {
return;
}
const components = ["salla-accordion-body"];
components.forEach(tagName => { switch (tagName) {
case "salla-accordion-body":
if (!customElements.get(tagName)) {
customElements.define(tagName, SallaAccordionBody);
}
break;
} });
}
defineCustomElement();
export { SallaAccordionBody as S, defineCustomElement as d };