Raxol. UI. Components. Input. Checkbox
(Raxol v2.6.0)
View Source
Checkbox component for toggling boolean values.
This component provides a selectable checkbox with customizable appearance and behavior. Fully supports style and theme props (with correct merging/precedence), implements robust lifecycle hooks, and supports accessibility/extra props.
Summary
Functions
Initializes the Checkbox component state from the given props.
Callback implementation for Raxol.UI.Components.Base.Component.mount/1.
Creates a new checkbox component with the given options.
See init/1 for details.
Renders the Checkbox component using the current state and context.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.
Callback implementation for Raxol.UI.Components.Base.Component.update/2.
Types
Functions
Initializes the Checkbox component state from the given props.
Callback implementation for Raxol.UI.Components.Base.Component.mount/1.
Creates a new checkbox component with the given options.
See init/1 for details.
Renders the Checkbox component using the current state and context.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.
Callback implementation for Raxol.UI.Components.Base.Component.update/2.