@bulmil/core
Version:

33 lines (29 loc) • 854 B
JavaScript
/*!
* Bulmil - MIT License
*/
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
const CardContent = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
constructor() {
super();
this.__registerHost();
}
render() {
return (h("div", { class: "card-content" }, h("slot", null)));
}
}, [4, "bm-card-content"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["bm-card-content"];
components.forEach(tagName => { switch (tagName) {
case "bm-card-content":
if (!customElements.get(tagName)) {
customElements.define(tagName, CardContent);
}
break;
} });
}
const BmCardContent = CardContent;
const defineCustomElement = defineCustomElement$1;
export { BmCardContent, defineCustomElement };