Ionic-css:ionic Radio Box

Source: Internet
Author: User

Ylbtech-ionic-css:ionic Radio Box

1. back to top
1. Ionic Radio Box

The Ionic radio button is similar to the INPUT element of the standard type= "Radio". The following shows the radio buttons for the modern app type.

The Name property of the INPUT element for type= "Radio" in each Item-radio is the same. The Radio-icon class is used to display icons.

Ionic uses the <label> element in a single option to make it easier to click.

Instance
<Divclass= "List"><labelclass= "Item Item-radio">  <inputtype= "Radio"name= "group"value= "Go"checked= "Checked">   <Divclass= "Radio-content">   <Divclass= "Item-content">Go</Div>   <Iclass= "Radio-icon Ion-checkmark"></I>  </Div></label> <labelclass= "Item Item-radio">  <inputtype= "Radio"name= "group"value= "Python">  <Divclass= "Radio-content">   <Divclass= "Item-content">Python</Div>   <Iclass= "Radio-icon Ion-checkmark"></I>  </Div></label> <labelclass= "Item Item-radio">  <inputtype= "Radio"name= "group"value= "Ruby">  <Divclass= "Radio-content">   <Divclass= "Item-content">Ruby</Div>   <Iclass= "Radio-icon Ion-checkmark"></I>  </Div></label> <labelclass= "Item Item-radio">  <inputtype= "Radio"name= "group"value= ". Net">  <Divclass= "Radio-content">   <Divclass= "Item-content">. Net</Div>   <Iclass= "Radio-icon Ion-checkmark"></I>  </Div></label> <labelclass= "Item Item-radio">  <inputtype= "Radio"name= "group"value= "Java">  <Divclass= "Radio-content">   <Divclass= "Item-content">Java</Div>   <Iclass= "Radio-icon Ion-checkmark"></I>  </Div></label> <labelclass= "Item Item-radio">  <inputtype= "Radio"name= "group"value= "PHP">  <Divclass= "Radio-content">   <Divclass= "Item-content">PHP</Div>   <Iclass= "Radio-icon Ion-checkmark"></I>  </Div></label></Div>
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-RADIO.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 Radio Box

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.