io.confirm
Requests confirmation of an action using a full-screen dialog box.
caution
io.confirm
is not supported within an io.group.
Usage
- TypeScript
- JavaScript
- Python
const shouldDelete = await io.confirm("Delete this user account?", {
helpText: "All of their data will be deleted immediately.",
});
const shouldDelete = await io.confirm("Delete this user account?", {
helpText: "All of their data will be deleted immediately.",
});
should_delete = await io.confirm("Delete this user account?",
help_text="All of their data will be deleted immediately.",
)
interval.com
Props
- TypeScript
- JavaScript
- Python
helpText
Optional
string
Optional label providing additional context. Supports inline markdown elements like bold, italics, and links.
Returns
boolean
helpText
Optional
string
Optional label providing additional context. Supports inline markdown elements like bold, italics, and links.
Returns
boolean
help_text
Optional
str
Secondary label for providing additional context.
Returns
bool
Was this section useful?