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