2.1.1 • Published 6 years ago

clientside-view-input-text v2.1.1

Weekly downloads
8
License
ISC
Repository
github
Last release
6 years ago

Clientside-View-Input-Text

clientside_view_input_text-demo

Install

npm install clientside-view-input-text --save

Use

// building and appending the view
var view_loader = await load('clientside-view-loader'); // load the view loader
var text_input = await view_loader.load('clientside-view-text-input').build({label:"Full Name"});
document.body.appendChild(text_input);

// functionality usage
var value = text_button.value; // 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
}
2.1.1

6 years ago

2.1.0

6 years ago

1.7.0

6 years ago

1.6.4

6 years ago

1.6.2

6 years ago

1.6.1

6 years ago

1.6.0

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago

1.3.9

6 years ago

1.3.8

6 years ago

1.3.7

6 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.2.4

6 years ago

1.1.4

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago