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