Settings for the reference typ which is used for variables
Methods
Creates a new SelectionSettings object.
Example
let s = new;
assert!;
Try to get a Language option from the SelectionSetting itself.
Please note, that options can be stored either in this Selection setting or a Selection object itself. This call can only returns a slection Language option from this Selection option itself.
Example:
let sel = new;
assert_eq!;
sel.insert;
assert_eq!;
Inserts a new Option into the SelectionSettings.
Example:
let sel = new;
sel.insert;
assert_eq!;
Removes a Option from the Selection
Example:
let sel = new;
sel.insert;
assert_eq!;
sel.remove;
assert_eq!;
Returns all keys for the different options of the SelectionSettings
Example:
let sel = new;
sel.insert;
assert_eq!;
Clones the SelectionSettings object and returns a new independet one.
Example
let s0 = new;
let s1 = s0.clone;
assert_eq!;
s1.mode = "multi";
assert_ne!;
Protocols
let output = value.mode
Get the Selection mode which shuld is used. Available options are: 'single', 'multi', 'show'
Example
let s = new;
s.mode = "multi";
assert_eq!;
value.mode = input
Set the Selection mode which shuld be used. Available options are: 'single', 'multi', 'show'
Example
let s = new;
s.mode = "multi";
assert_eq!;