Skip to main content

IBuilderPreviewEvent interface

📖 Description​

Event interface for the OnPreview hook, fired when the builder wants to request a live preview update.

tip

This event is used when implementing a live form preview.

📃 Type declaration​

interface IBuilderPreviewEvent {
  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 current form definition as a IDefinition object.

Type​

IDefinition