mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-20 15:27:43 +00:00
Deprecate the following obsolete functions and properties: * `keyman.helpURL` * `keyman.util.rgba` * `keyman.util.toFloat` * `keyman.util.toNumber` * `keyman.util.toNzString` Use correct language for code blocks in Keyman Engine for Web documentation. Test-bot: skip
32 lines
No EOL
414 B
Markdown
32 lines
No EOL
414 B
Markdown
---
|
|
title: alert
|
|
---
|
|
|
|
## Summary
|
|
|
|
Generates a KeymanWeb alert window.
|
|
|
|
## Syntax
|
|
|
|
```js
|
|
keyman.util.alert(msg, fn)
|
|
```
|
|
|
|
### Parameters
|
|
|
|
`msg`
|
|
: Type: `string`
|
|
: Alert message text.
|
|
|
|
`fn`
|
|
: Type: `function()` *optional*
|
|
: Function to be called upon alert dismissal.
|
|
|
|
### Return Value
|
|
|
|
`undefined`
|
|
|
|
## Description
|
|
|
|
The optional second parameter specifies a function to be called when the
|
|
window is dismissed. |