Lowdefy
v3.23.3/display/Alert/

Alert

Alert is used to render user feedback messages in a Alert styled frame.

Alerts help to highlight important information.
id: block_id
type: Alert
properties:
  message: Alerts help to highlight important information.

properties:
Style as banner at top of application window.
Allow alert to be closed.
Close text to show.
Content description of alert - supports html.
Name of an Ant Design Icon or properties of an Icon block to customize alert icon.
Content message of alert - supports html.
Show type default icon.
Alert style type.
type: object
properties:
  events:
    additionalProperties: false
    properties:
      afterClose:
        description: Called after Alert has been closed.
        type: array
      onClose:
        description: Called when Alert close button is clicked.
        type: array
    type: object
  properties:
    additionalProperties: false
    properties:
      banner:
        default: false
        description: Style as banner at top of application window.
        type: boolean
      closable:
        default: false
        description: Allow alert to be closed.
        type: boolean
      closeText:
        description: Close text to show.
        type: string
      description:
        description: Content description of alert - supports html.
        type: string
      icon:
        description: >-
          Name of an Ant Design Icon or properties of an Icon block to customize
          alert icon.
        type:
          - string
          - object
      message:
        description: Content message of alert - supports html.
        type: string
      showIcon:
        default: true
        description: Show type default icon.
        type: boolean
      type:
        default: info
        description: Alert style type.
        enum:
          - success
          - info
          - warning
          - error
        type: string
    type: object