loon (version 1.4.1)

l_setOption: Set the value of a loon display option

Description

All of loon's displays access a set of common options. This function assigns the value to the named option.

Usage

l_setOption(option, value)

Value

the new value

Arguments

option

the name of the option being set

value

the value to be assigned to the option. If value == "default", then the option is set to loon's default value for it.

See Also

l_getOption, l_getOptionNames, l_userOptions, l_userOptionDefault

Examples

Run this code
l_setOption("select-color", "red")
l_setOption("select-color", "default")

Run the code above in your browser using DataLab