Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0Version 17.0 (current version)Version 16.0Version 15.0Version 14.0Version 13.0Version 12.0Version 11.0Version 10.0Version 2.0

On this page

getOption

Summary

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

Syntax

keyman.util.getOption(optionName, dflt);

Parameters

optionName
Type: string
The named initialization option.
dflt
Type: string|Object optional
The value to return if the option is not set.

Return Value

string|Object
The value of the option (if set). If not set and no value is provided for dflt, returns the empty string.

Description

See also keyman.util.setOption().