selectable([selectable])

Class: ToggleButton.

Description:

Sets/Gets whether the toggle button can be selected by the user.

Parameters:

Name Type Description

[selectable]

boolean

true to allow selection, false to prevent the toggle button from being selected.

Returns:

If called without arguments, returns boolean value, otherwise returns this ToggleButton instance.

Type: boolean | ToggleButton

Also See: