UNPKG

@bulmil/core

Version:

![bulmil](https://user-images.githubusercontent.com/2362138/65766959-c721a080-e16f-11e9-9fb9-45a5a2ad0391.jpg)

34 lines (30 loc) 857 B
/*! * 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 };