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 Experimental
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 Experimental
helpText
Optional
string
Optional label providing additional context.
Returns
boolean
helpText
Optional
string
Optional label providing additional context.
Returns
boolean
help_text
Optional
str
Secondary label for providing additional context.
Returns
bool
Did this section clearly explain what you wanted to learn?