UNPKG

@bulmil/core

Version:

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

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