EventDetails interface
An interface that defines the details of the emitted event.
Properties
data | Optional. Custom data that is relevant for the event (e.g: "error" event can pass the error message). |
expose |
The consumers the event will be exposed to. Predefined events may be exposed to all consumers. |
name | Name of the event (e.g: "error" / "rendered" / etc.) |
Property Details
data
Optional. Custom data that is relevant for the event (e.g: "error" event can pass the error message).
data?: any
Property Value
any
exposeTo
The consumers the event will be exposed to. Predefined events may be exposed to all consumers.
exposeTo: Embed
Property Value
name
Name of the event (e.g: "error" / "rendered" / etc.)
name: string
Property Value
string