@bulmil/core
Version:

39 lines (34 loc) • 991 B
JavaScript
/*!
* 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 };