KeyValue
A simple component for create key/value pairs values.
A simple component for create key/value pairs values.
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 aninputis focused
Other functionality
// Binder
SETTER('keyvalue/binder', function(type, value) {
if (type === 'key')
return value.toUpperCase();
else // type === 'value'
return value;
});



