UNPKG

@bulmil/core

Version:

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

39 lines (34 loc) 991 B
/*! * Bulmil - MIT License */ import { HTMLElement, h, Host, proxyCustomElement } from '@stencil/core/internal/client'; const footerCss = ".footer{background-color:#fafafa;padding:3rem 1.5rem 6rem}"; let Footer = class extends HTMLElement { constructor() { super(); this.__registerHost(); } render() { return (h(Host, null, h("footer", { class: { footer: true, } }, h("slot", null)))); } static get style() { return footerCss; } }; Footer = /*@__PURE__*/ proxyCustomElement(Footer, [4, "bm-footer"]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["bm-footer"]; components.forEach(tagName => { switch (tagName) { case "bm-footer": if (!customElements.get(tagName)) { customElements.define(tagName, Footer); } break; } }); } const BmFooter = Footer; const defineCustomElement = defineCustomElement$1; export { BmFooter, defineCustomElement };