Alert
An alert component to display information
Properties
Available properties for Alert with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read information about components.
The icon associated with the action button
Changes the position of the action button icon
Style the action button with or without padding
Changes the position of the action button
The text displayed on the action button of the alert
The icon in charge of closing or hiding the full alert
Changes the position of the close icon
The description of the alert
Whether the component is visible.
The icon displayed on the left of the alert
Changes the position of the alert icon
Whether the component takes up space on the canvas if hidden
is true
.
The amount of margin to render outside of the component.
Whether the component remains visible in the editor if hidden
is true
.
The title or header of the alert
The different styling types for the alert component
Events
Events are triggered by user interactions with Alert. Use event handling to trigger queries or other actions in response to events.
A user clicks the component.
A user closes the component.
Methods
Methods for interacting with Alert. You can write JavaScript almost anywhere in Retool and use methods to manipulate data or components.
Scrolls the canvas or parent container so that the selected component appears in the visible area.
Set the hidden
value to toggle whether the component is visible. Defaults to true
without a parameter.