@bulmil/core
Version:

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