Class: ComponentDataEvents
@react-form-builder/core.ComponentDataEvents
Represents a class that holds events related to component data.
Constructors
constructor
• new ComponentDataEvents()
Properties
onAfterKeyChanged
• Readonly
onAfterKeyChanged: SyncEvent
<ComponentData
, ComponentKeyChangedEventArgs
>
An event that occurs after a component key change.
onBeforeDelete
• Readonly
onBeforeDelete: SyncEvent
<ComponentData
, undefined
>
An event that occurs before a component is removed from the component tree.
Methods
dispose
▸ dispose(): void
Unsubscribe from all events.
Returns
void