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 642 B
/*! * NENT 2022 */ import{r as t,h as r,a as s,H as i}from"./index-916ca544.js";import{A as e}from"./service-9338e502.js";import"./index-f7016b94.js";import"./logging-5a93c8af.js";import"./state-27a8a5bc.js";import"./index-4bfabbbd.js";const n=class{constructor(r){t(this,r),this.valid=!0,this.actionService=new e(this,"n-action")}getAction(){return this.actionService.getAction()}sendAction(t){return this.actionService.sendAction(t)}get childScript(){return this.el.querySelector("script")}get childInputs(){return this.el.querySelectorAll("input,select,textarea")}render(){return r(i,null)}get el(){return s(this)}};export{n as n_action}