Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16271 Support jquery mobile 1.4
  3. JBIDE-16346

Add checkbox input version of flip toggle switch to the wizard

XMLWordPrintable

      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.

        1. scr.png
          86 kB
          Alexey Kazakov

              scabanovich Viacheslav Kabanovich (Inactive)
              scabanovich Viacheslav Kabanovich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: