-
Sub-task
-
Resolution: Done
-
Major
-
None
-
Documentation (Ref Guide, User Guide, etc.)
In jQuery Mobile 1.4, flip toggle switch widget can be created as
<input data-role="flipswitch" name="flip-checkbox" id="flip-checkbox" type="checkbox">
as well as traditional <select> with two options.
We can modify existing wizard for 1.4 by adding radio options Kind: "Checkbox" and "Select".
Changes in JQM 1.4:
Data role "flipswitch" is used in JQM 1.4 flip toggle switch for both checkbox and select.
In checkbox, customized off- and on- labels are set with attributes data-off-text and data-on-text.
Attribute data-track-theme is not used.
One more feature to be added to the wizard for both versions is 'Selected' which in case of checkbox adds attribute 'checked', and in case of select adds attribute 'selected' to 'on' option.