Web Component: j-StatusInput
j-StatusInput
easy usage for different cases
supports Dark mode
singleton
jComponent
v19|v20
Usage
var opt = {};
// opt.placeholder {String} : A placeholder and can be HTML (optional)
// opt.icon {String} : An icon (optional)
// opt.hide {Function} : Is executed when the StatusInput is hiding (optional)
// opt.validate {RegExp} : A validator, must be RegExp or nullable (optional)
// opt.valuel {String} : A default value for the input (optional)
// opt.callback {Function} : A callback
opt.callback = function(newvalue) {
console.log(newvalue);
};
SETTER('statusinput/show', opt);
Author
- Peter Širka petersirka@gmail.com
- License
Created
11. july 2019
Updated
31. january 2023
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Dark mode
Yes
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com