pub fn toggle(id: impl Into<ElementId>, on: bool) -> Toggle
Construct a controlled toggle switch form control.