To add option button using ionic your code should look like:
<ion-list can-swipe="true">
<ion-item ng-repeat="item in itemList">
<ion-option-button class="button-stable" ng-click="showDetail(item)">Details</ion-option-button>
</ion-item>
</ion-list>
When you swipe your item from right to left then you can see option button "Details".
<ion-list can-swipe="true">
<ion-item ng-repeat="item in itemList">
<ion-option-button class="button-stable" ng-click="showDetail(item)">Details</ion-option-button>
</ion-item>
</ion-list>
When you swipe your item from right to left then you can see option button "Details".
No comments:
Post a Comment