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

489 B

title
setOption

Summary

Set a KeymanWeb, On-Screen Keyboard or User Interface option value.

Syntax

keyman.util.setOption(optionName, value);

Parameters

optionName
Type: string
The named initialization option.
value
Type: string|Object optional
The value the option will be set to. Clears the option's current value if left blank.

Return Value

undefined

Description

See also keyman.util.getOption().