The type for the field's id
One option of a field
A collection of field options
Names of events emitted by this factory's event emitter
A collection of fields
A factory for field state in Caldera Forms editor
Event emitter
Each event name is a part of the union type fieldStateEvents
feildEvents.on( 'addField', (fieldId) => console.log( Added field ${fieldId}
);
feildEvents.on( 'removeField', (field) => console.log( Removed field ${field.id}
);
feildEvents.on( 'updateField', ({fieldId,beforeUpdate}) => console.log( Updated field ${fieldId}
);
Add a field to the collection
Get all fields in collection
Remove a field from the collection
Update field in collection
Generated using TypeDoc
The data for a field
NOT all of its state, enough to do magic tags