CheckboxState

class CheckboxState(initialChecked: Boolean = false)(source)

Caller-owned owner-thread selected state for one Checkbox.

Distinct writes synchronously invalidate every attached retained observer. The state owns its boolean value but does not own attached component nodes.

Parameters

initialChecked

initial selected value.

Constructors

Link copied to clipboard
constructor(initialChecked: Boolean = false)

Properties

Link copied to clipboard

Current selected value.

Functions

Link copied to clipboard

Installs one privileged retained observer.

Link copied to clipboard

Toggles and returns the next selected value.