mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 08:55:34 +00:00
Note: build.sh updated to make sure that test:help build action:target doesn't also call test.sh by adding `:_all` meta-target. Note: CI will need a new help-keyman-com.sh build step to deploy web engine help. Fixes: #12347
32 lines
No EOL
413 B
Markdown
32 lines
No EOL
413 B
Markdown
---
|
|
title: alert
|
|
---
|
|
|
|
## Summary
|
|
|
|
Generates a KeymanWeb alert window.
|
|
|
|
## Syntax
|
|
|
|
```c
|
|
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. |