Modal

Group components in an overlay that is shown when the button is clicked. It supports scaling with content or remaining a fixed size with overflow options, and loading and disabled button states.

Events

Events are triggered by user interactions with Modal. Use event handling to trigger queries or other actions in response to events.

NameDescriptionOpen

A user opens the component.

Close

A user closes the component.

Methods

Methods for interacting with Modal. You can write JavaScript almost anywhere in Retool and use methods to manipulate data or components.

NameDescriptionscrollIntoView(options: any)

Scrolls the canvas or parent container so that the selected component appears in the visible area.

open()

Open the modal overlay

close()

Close the modal overlay