Expand description
Floem widgets
This module contains all of the built-in widgets of Floem.
Modules
- A toggle button widget. An example can be found in widget-gallery/button in the floem examples.
Structs
- A toggle button
Enums
- Controls the switching behavior of the switch. The cooresponding style prop is ToggleButtonBehavior
Functions
- Renders a checkbox the provided checked signal. Can be combined with a label and a stack with a click event (as in
examples/widget-gallery
). - Renders a checkbox using the provided checked signal.
- Renders a radio button that appears as selected if the signal equals the given enum value.
- Renders a radio button that appears as selected if the signal equals the given enum value. Can be combined with a label and a stack with a click event (as in
examples/widget-gallery
). - A reactive toggle button. When the button is toggled by clicking or dragging the widget an update will be sent to the
ToggleButton::on_toggle
handler. See also ToggleButtonClass, ToggleButtonSwitch and the other toggle button styles that can be applied.