Answers for "how to hide element by class in angular 6"

1

angular.io hide

<div [style.visibility]="(numberOfUnreadAlerts == 0) ? 'hidden' : 'visible' ">
   COUNTER: {{numberOfUnreadAlerts}} 
</div>
Posted by: Guest on November-28-2020

Code answers related to "how to hide element by class in angular 6"

Browse Popular Code Answers by Language