Appearance
wpda.confirm(title, message, callback)
Use wpda.confirm to show a confirm dialog box using your app style.
Scope: GLOBAL
Parameters
| Parameter | Type | Description |
|---|---|---|
| title | string | Alert title. |
| message | string | Alert message. Supports HTML. |
| callback | optional | Your JavaScript function. |
Return Value
None
✨ Example
js
wpda.confirm(
"My Confirm",
"<div>Message from confirm</div>",
(() => wpda.alert("My Alert", "Message from alert"))
)Output

