type

RadioButton

src @Js
class RadioButton : Elem

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

constructors

fields

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.

Slot Details

checked

src Bool checked

Value of checked.

make

src new make()

onAction

src Void onAction(|This| f)

Callback when state is toggled.

wrap

src Elem wrap(Obj content)

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