alert
alert(
message,opts?):Promise<void>
Defined in: components/dialog.ts:183
Shows a message dialog with a single OK button. Returns a Promise<void>
that resolves when the user dismisses it.
Parameters
Section titled “Parameters”message
Section titled “message”string
Partial<DialogOptions> = {}
Returns
Section titled “Returns”Promise<void>
Example
Section titled “Example”await S.alert("File saved successfully.");