Lowdefy
v3.17.2/display/Message/

Message

Display a popup message on the page.

To display a message, invoke the open method.

onClick:
- id: open
  type: CallMethod
  params:
    blockId: block_id
    method: open

id: block_id
type: Message

properties:
The content of the message.
Time(seconds) before auto-dismiss, don't dismiss if set to 0.
Name of an Ant Design Icon or properties of an Icon block to customize message icon.
Css style to applied to message.
info
Message status type.
type: object
properties:
  events:
    additionalProperties: false
    properties:
      onClose:
        description: Trigger actions when message is closed.
        type: array
    type: object
  properties:
    additionalProperties: false
    properties:
      content:
        description: The content of the message.
        type: string
      duration:
        default: 4.5
        description: Time(seconds) before auto-dismiss, don't dismiss if set to 0.
        type: number
      icon:
        description: >-
          Name of an Ant Design Icon or properties of an Icon block to customize
          message icon.
        type:
          - string
          - object
      messageStyle:
        description: Css style to applied to message.
        type: object
      status:
        default: info
        description: Message status type.
        enum:
          - success
          - error
          - info
          - warning
          - loading
        type: string
    type: object