class domkit::RadioButton

sys::Obj
  dom::Elem
    domkit::RadioButton

@Js

Source

RadioButton displays a radio button. RadioButtons should be belong to a ButtonGroup, where only one button in the group can be selected at a time.

See also: docDomkit

checked

Bool checked

Source

Value of checked.

make

new make()

Source

onAction

Void onAction(|This| f)

Source

Callback when state is toggled.

wrap

Elem wrap(Obj content)

Source

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