--- title: setOption --- ## Summary Set a KeymanWeb, On-Screen Keyboard or User Interface option value. ## Syntax ```c 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()`](getOption).