@bulmil/core
Version:

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