Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Add button color based on conditon

$
0
0

@usuf wrote:

Just I need to add two different color button but the button need to show color based on the web-service response if status= "open" green button if status= "closed red button

<a class="button icon button-block button-calm icon-right ion-android-arrow-dropright-circle" href="#" ng-repeat= "file in file">File Ref No:{{file.num}}<br>
Description:{{file.descript}}<br>
Status:{{file.status}}</a><br>

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>