Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.attio.com/llms.txt

Use this file to discover all available pages before exploring further.

import {alert} from "attio/client"
Analogous to the window.alert() function in web browser JavaScript. The popup is modal.
It is useful when you forcefully let the user know that something has happened.

API

TypeScript
async function alert(options: Options): Promise<void>

Options

title : string

The title of the alert pop-up.

text : string

The text of the alert pop-up.

okLabel? : string

The label for the “OK” button. Defaults to "OK".