Trace: • Checkbox as switch
This is an old revision of the document!
On mobile devices, a checkbox should sometimes look like a switch (e.g. for settings). If you want to show a switch instead a checkbox, simply add the following style:
Style.addStyleNames(checkbox, "f_switch");