@bulmil/core
Version:

34 lines (30 loc) • 879 B
JavaScript
/*!
* Bulmil - MIT License
*/
import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
let CardContent = class extends HTMLElement {
constructor() {
super();
this.__registerHost();
}
render() {
return (h("div", { class: "card-content" }, h("slot", null)));
}
};
CardContent = /*@__PURE__*/ proxyCustomElement(CardContent, [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 };