UNPKG

@revolist/revogrid

Version:

Virtual reactive data grid spreadsheet component - RevoGrid.

4 lines 856 B
/*! * Built by Revolist OU ❤️ */ import{proxyCustomElement as t,HTMLElement as e,createEvent as s,h as i,Host as n,transformTag as l}from"@stencil/core/internal/client";const o=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.html=s(this,"html",7),this.redraw=null,this.vnodes=[]}componentDidRender(){this.html.emit({html:this.el.innerHTML,vnodes:this.vnodes})}render(){var t,e;return this.vnodes=null!==(e=null===(t=this.redraw)||void 0===t?void 0:t.call(this))&&void 0!==e?e:null,i(n,{key:"11b76ca8a86ebf279add88bbd86ef9eb5149605a",style:{visibility:"hidden",position:"absolute"}},this.vnodes)}get el(){return this}},[0,"vnode-html",{redraw:[16]}]);function d(){"undefined"!=typeof customElements&&["vnode-html"].forEach((t=>{"vnode-html"===t&&(customElements.get(l(t))||customElements.define(l(t),o))}))}export{o as V,d}