If not defined step will be calculated automatically based on initial value
If not defined min will be calculated automatically based on initial value
If not defined max will be calculated automatically based on initial value
If min or max are defined, range will be equal to true by default
If true, the controller value will be updated automatically if target object is modified.
Carefull: heavy use may reduce performance
group.add('someProperty', target, { listen: true })
If true, the controller will not be editable
Display name of a controller, defaultly equal to property.
group.add('someProperty', target, { name: 'Custom display name' })
property controlled in the target object
source object in which the property key is defined
Manually update controller value in the form if target has changed
Delete the controller
Add a controller in the same Group of current controller
Generated using TypeDoc
How to use
``` javascript const target = { property: 1 }
// Display an
input[type='number']group.add('property', target)// Display an
input[type='range']group.add('property', target, { min: -1, max: 1, step: 0.1 })// Display an
input[type='range']group.add('property', target, { range: true })