A simple component for create key/value pairs values.
- jComponent
v19|v20
Configuration:
placeholderkey {String}
a placeholder for the key inputplaceholdervalue {String}
a placeholder for the value inputicon {String}
a label icon withoutti-
maxlength {Number}
max. lenght for inputslabel {String}
a label (default:innerHTML
)disabled {Boolean}
can disabled this controlautocomplete {String}
a link tofunction(input, component)
which is executed when aninput
is focused
Other functionality
// Binder
SETTER('keyvalue/binder', function(type, value) {
if (type === 'key')
return value.toUpperCase();
else // type === 'value'
return value;
});
- Peter Širka petersirka@gmail.com
- License