Class type Goog.​Ui.​checkbox

class type checkbox = object..end

Inherits


method getChecked : bool Js.t Js.opt Js.meth
method isChecked : bool Js.t Js.meth

Whether the checkbox is checked.

method isEnabled : bool Js.t Js.meth

Whether the checkbox is enabled.

method isUnchecked : bool Js.t Js.meth

Whether the checkbox is not checked.

method isUndetermined : bool Js.t Js.meth

Whether the checkbox is in partially checked state.

method setChecked_ : bool Js.t Js.opt -> unit Js.meth

Sets the checked state of the checkbox.

method setLabel : 'a. (#Dom_html.element as 'a) Js.t -> unit Js.meth

Binds an HTML element to the checkbox which if clicked toggles the checkbox. Behaves the same way as the 'label' HTML tag. The label element has to be the direct or non-direct ancestor of the checkbox element because it will get the focus when keyboard support is implemented.

method toggle : unit Js.meth

Toggles the checkbox.

method createDom : unit Js.meth
method decorateInternal : 
'b. (#Dom_html.element as 'b) Js.t -> unit Js.meth
method enterDocument : unit Js.meth
method setEnabled : bool Js.t -> unit Js.meth

Fix for tabindex not being updated so that disabled checkbox is not focusable. In particular this fails in Chrome.