selected([selected])

Class: CheckBox.

Description:

Sets or gets the selection state of the checkbox.

Parameters:

Name Type Description

[selected]

boolean

true to select, false to deselect the checkbox.

Returns:

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

Type: boolean | CheckBox