action.notify

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.

Component properties

NameTypeDescription
type*"action.notify"

Set component type

payload*object

Parameters for the message.

payload.content*string

Message text.

payload.delaynumber

The duration of the delay (in milliseconds) before the message appears.

payload.durationnumber

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:

  • info — blue.
  • success — green.
  • warning — yellow.
  • danger — red.