spiegel-keyman/web/docs/engine/reference/interface/beep.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

620 B

title
beep (KB)

Summary

Flash body or element as substitute for an audible feedback beep.

Syntax

keyman.interface.beep(Pelem);

or

KeymanWeb.KB(Pelem); // Shorthand

Parameters

Pelem
Type: Element
The page element to be temporarily set flashing.

Return Value

undefined

Description

This function is designed to implement feedback for erroneous input sequences, as with the keyboard language beep command. The flashing feedback should last approximately 1/20 of a second.