UNPKG

@sutton-signwriting/sgnw-components

Version:

a javascript package of web components for use with the SignWriting script.

4 lines 896 B
/*! * The Sutton SignWriting Web Components */ import{proxyCustomElement as e,HTMLElement as t,h as s,Host as o,transformTag as r}from"@stencil/core/internal/client";import{o as n}from"./global.js";const l=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost()}paletteSymbolDropHandler(e){n(e.target,this.el)&&console.log(e.detail)}render(){return s(o,{key:"499a3393a1de94e73fb0d706d30fff0bd968e7b7"},s("slot",{key:"1b64a39957bb4532707a8db11f33daced97b0ed8"}))}get el(){return this}static get style(){return".sc-fsw-signbox-h{width:100%;height:100%;border-radius:10px;display:block}"}},[262,"fsw-signbox",void 0,[[8,"paletteSymbolDrop","paletteSymbolDropHandler"]]]),i=l,d=function(){"undefined"!=typeof customElements&&["fsw-signbox"].forEach((e=>{"fsw-signbox"===e&&(customElements.get(r(e))||customElements.define(r(e),l))}))};export{i as FswSignbox,d as defineCustomElement}