The component creates a message in the lower-left corner of the screen.
You can set the how long the message will be active, the delay before displaying it, and the background color.
View exampleName | Type | Description |
---|---|---|
type * | "action.notify" | Set component type. |
payload * | object | Parameters for the message. |
payload.content * | string | Message text. |
payload.delay | number | The duration of the delay (in milliseconds) before the message appears. |
payload.duration | number | The duration of the message activity (in milliseconds), which includes the duration of the delay before displaying it. For example, if duration is 1000 and delay is 400, the message will be displayed for 600 milliseconds. |
payload.theme * | string | The background color of the message:
|
Last updated: May 24, 2023