@bulmil/core
Version:

38 lines (33 loc) • 976 B
JavaScript
/*!
* Bulmil - MIT License
*/
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
const footerCss = ".footer{background-color:#fafafa;padding:3rem 1.5rem 6rem}";
const Footer = /*@__PURE__*/ proxyCustomElement(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; }
}, [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 };