ApplesauceOS
Read Markdown ↗Download .md

alert

Show a device alert.

js
alert(title, message)

Arguments

ArgumentTypeMeaning
titlestringAlert title.
messagestringAlert body.

Returns

No return value (undefined).

Example

js
alert("Automation", "Please check the result.");

All JavaScript APIs · Automation playbook