UNPKG

@sutton-signwriting/sgnw-components

Version:

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

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