Skip to main content

IBuilderSaveEvent interface

📖 Description​

Event interface for the OnSave hook fired when the user clicks the save button in the builder.

tip

Use the hook method if you want to attach multiple listeners to the same event. If you just need one listener, use the onSave event of the Builder instance.

📃 Type declaration​

interface IBuilderSaveEvent {
  builder: Builder;Readonly
  definition: IDefinition;Readonly
}
🖱ī¸ Hover with the mouse over a property name for a tooltip with the description of that property. Click it for more information.

🗃ī¸ Properties​


🏷ī¸ builder​

Contains a reference to the Builder instance that generated the event.

Type​

Builder


🏷ī¸ definition​

Contains the saved form definition as a IDefinition object.

Type​

IDefinition