spiegel-keyman/web/docs/engine/reference/util/alert.md
Marc Durdin 1f82507730 docs(web): deprecate unused and obsolete API endpoints and docs cleanup
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
2026-08-12 16:07:22 +02:00

414 B

title
alert

Summary

Generates a KeymanWeb alert window.

Syntax

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.