Alert
Alert is used to render user feedback messages in a Alert styled frame.
Block
Block Setup
id: block_id
type: Alert
properties:
message: Alerts help to highlight important information.
Settings
Alert JSON Schema Definition
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