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.

4 lines 321 B
/*! * NENT 2022 */ import{E as s}from"./index-f7016b94.js";import{D as t}from"./interfaces-8c5cd1b8.js";class r{constructor(){this.data={},this.changed=new s}async get(s){return this.data[s]||null}async set(s,r){this.data[s]=r,this.changed.emit(t.DataChanged)}destroy(){this.changed.removeAllListeners()}}export{r as I}