Ionic-css:ionic Toggle (toggle switch)

Source: Internet
Author: User

Ylbtech-ionic-css:ionic Toggle (toggle switch)

1. back to top
1, Ionic Toggle (toggle switch)

The toggle switch is similar to the checkbox tag for HTML, but it is easier to use on mobile devices.

The toggle switch can use toggle-assertive to specify the color.

<label class< Span class= "pun" >= "toggle" > <input  type= "checkbox" >< Span class= "PLN" > <div class= "track" > <div class= "handle" ></div>  </div></LABEL>   

The instance has a list of multiple toggle switches. Note that the item class for each option needs to be added after the Item-toggle class.

<ul Class="List"> <li Class="Item Item-toggle">HTML5<label Class= "toggle Toggle-assertive" > <input type= " CheckBox "> <div  Class= "track" >  <div class= "handle" ></div> </div></label> </li> ... </UL>               

Try it?

The results are as follows:

2.
2. back to top
3. back to top
4. back to top
5. back to top
1, HTTP://WWW.RUNOOB.COM/IONIC/IONIC-TOGGLE.HTML2,
6. back to top
Ylbtech
Source: http://ylbtech.cnblogs.com/
This article is copyright to the author and the blog Park, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility.

Ionic-css:ionic Toggle (toggle switch)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.