class domkit::Checkbox

sys::Obj
  dom::Elem
    domkit::Checkbox

@Js

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

See also: pod doc

checked

Bool checked

Value of checked.

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.