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
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.",
});
interval.com
Props
- TypeScript
- JavaScript
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
Did this section clearly explain what you wanted to learn?