showNotice
Show a compact notification banner.
js
showNotice(text, seconds = 2)Arguments
| Argument | Type | Meaning |
|---|---|---|
text | string | Message. |
seconds | number | Duration in seconds; default 2. |
Returns
No return value (undefined).
Example
js
showNotice("Done", 2);