Package Exports
- data-field-list
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (data-field-list) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
data-field-list
API
createListField
Create a virtual-dom list (object or array) data-field for use with data-ui.
Parameters
hfunction virtual-domhfunctionpropertiesObject an options object, including any properties you can pass to virtual-dom/hproperties.displayBoolean true for display mode, default is false for input modeproperties.keysBoolean , false for array mode, default is true for object modeproperties.valueObject an array or flat objectproperties.valueArray an array or flat object
valueObject an array or flat objectvalueArray an array or flat object
Examples
var createListField = require('data-field-string')
createListField(h, { onclick: function (e){} }, ['example', 'string'])See also
- data-fields – all data fields packaged together.
- data-ui – a collection of modules for managing data.