UNPKG

@nent/core

Version:

Functional elements to add routing, data-binding, dynamic HTML, declarative actions, audio, video, and so much more. Supercharge static HTML files into web apps without script or builds.

34 lines (30 loc) 856 B
/*! * NENT 2022 */ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client'; const Content = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement { constructor() { super(); this.__registerHost(); } render() { return (h(Host, null, h("slot", null))); } static get style() { return "n-content: { display: contents; }"; } }, [4, "n-content"]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["n-content"]; components.forEach(tagName => { switch (tagName) { case "n-content": if (!customElements.get(tagName)) { customElements.define(tagName, Content); } break; } }); } const NContent = Content; const defineCustomElement = defineCustomElement$1; export { NContent, defineCustomElement };