|
ZenitUI
Retained-mode C++20 UI framework
|
A boolean on/off switch. More...
Go to the source code of this file.
Classes | |
| class | ZenitUI::UI::Toggle |
| A toggle switch. More... | |
A boolean on/off switch.
The visual is a Layout container with a single child Layout whose class is "toggle-knob". The knob's position is driven entirely by CSS through the Toggle:checked .toggle-knob selector.