How can I build form checkboxes looks as iPhone toggle switches?
https://d13yacurqjgara.cloudfront.net/users/3680/screenshots/216058/ios_5_toggle_switches.png
Need also bind with form data (as text, combos, checkbox, …)
You can create a custom (protoUI) component based on the webix.ui.checkbox. Please check the sample from the related topic.
Thank you! But the errors:
- How can I toggle for multipl instances?
- Where is my label text?
- Why my onclick function calls for all elements?
See the sample: http://webix.com/snippet/d5cda39f
Yep, that sample was just an approximate solution.
Afterwards we have created an extra component based on it, the slidebutton
, which is available on GitHub.