Clientside-View-Input-Text
Install
npm install clientside-view-input-text --save
Use
// building and appending the viewvar view_loader = await ; // load the view loadervar text_input = await view_loader;documentbody; // functionality usagevar value = text_buttonvalue; // use the getter
Options
label : STRING // the label for the input title : STRING // a description which displays on hover prefix : STRING // a prefix before the input. e.g., "$" name : STRING // dom name for the input element disabled : BOOLEAN // disable the input password : BOOLEAN // set as a password input, user input rendered as **** required : BOOLEAN // make this a required field; shows red if empty type : STRING // choose from ["number", "price", "percentage", "date", "time"]; input will enforce that only characters possible for that are accepted and validate that it is valid