Switch
Switch
Section titled “Switch”moderatorim.ui.Switch
Section titled “moderatorim.ui.Switch”Switch(name, *, label='', checked=False, disabled=False)Bases: Component
A Beer CSS switch (toggle) for a boolean value.
Functions:
render–
Attributes:
checked–disabled–label–name–
moderatorim.ui.Switch.checked
Section titled “moderatorim.ui.Switch.checked”checked = checkedmoderatorim.ui.Switch.disabled
Section titled “moderatorim.ui.Switch.disabled”disabled = disabledmoderatorim.ui.Switch.label
Section titled “moderatorim.ui.Switch.label”label = labelmoderatorim.ui.Switch.name
Section titled “moderatorim.ui.Switch.name”name = namemoderatorim.ui.Switch.render
Section titled “moderatorim.ui.Switch.render”render()