Tuesday 12 December 2017

Part 8 checkbox component in ionic





in this video, I will show you that how you can use checkbox component in your ionic application.

A checkbox is an input component that holds a boolean value. Checkboxes are no different than HTML checkbox inputs. However, like other Ionic components, checkboxes are styled differently on each platform. Use the checked attribute to set the default value, and the disabled attribute to disable the user from changing the value.



<ion-item>

  <ion-label>Cricket</ion-label>

  <ion-checkbox color="dark" checked="true"></ion-checkbox>

</ion-item>



<ion-item>

  <ion-label>Football</ion-label>

  <ion-checkbox disabled="true"></ion-checkbox>

</ion-item>

====================================================

to download full source code and presentation visit our wesite and Blog



website : - http://dotnetlab.in/

facebook page :- https://www.facebook.com/DotnetLab-1896440207343189/

visit my blog : - http://aspnetinhindi.blogspot.in

follow me on twitter : https://twitter.com/THEJOGRANA


No comments:

Post a Comment

Part 20 consuming rest api in ionic

in this video, I will show you that how you can consume the rest API. in the previous video we have implemented the asp.net web API projec...