Answers for "display label in different colors based on value in get ng+ bootstrap"

0

display label in different colors based on value in get ng+ bootstrap

<div class="label" 
     ng-class="{'label-success': server.state === 'online', 'label-danger': server.state === 'offline'}">
   {{server.state}}
</div>
Posted by: Guest on May-17-2021

Code answers related to "display label in different colors based on value in get ng+ bootstrap"

Browse Popular Code Answers by Language