ionic toggle点击返回true/false支持自定义

<ul class="list">
<li class="item item-toggle">
手机提醒
<label class="toggle toggle-calm">
<input type="checkbox" ng-model="pushNotification.checked1"
ng-change="pushNotificationChange()">
<div class="track" >
<div class="handle"></div>
</div>
</label>
</li>
<li class="item item-toggle">
药盒提醒
<label class="toggle toggle-calm">
<input type="checkbox" ng-model="pushNotification.checked2"
ng-change="pushNotificationChange()" >
<div class="track">
<div class="handle"></div>
</div>
</label>
</li>
<li class="item item-toggle">
静音震动
<label class="toggle toggle-calm" >
<input type="checkbox" ng-model="pushNotification.checked3"
ng-change="pushNotificationChange()">
<div class="track">
<div class="handle"></div>
</div>
</label>
</li>
</ul>

posted @ 2017-02-08 18:57  郑福坤  阅读(1391)  评论(0编辑  收藏  举报