class

Checkbox

@Js
class Checkbox : Elem

Checkbox displays a checkbox that can be toggled on and off.

See also: docDomkit

constructors make

fields indeterminate

Get or set indeterminate flag

checked

Value of checked

methods onAction

Callback when state is toggled

wrap

Wrap this checkbox with content that can also be clicked to toggle checkbox

checked Bool : checked

Value of checked.

indeterminate Bool : indeterminate

Get or set indeterminate flag.

make new make()

onAction Void onAction(|This| f)

Callback when state is toggled.

wrap Elem wrap(Obj content)

Wrap this checkbox with content that can also be clicked to toggle checkbox.

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST