Answers for "how to hide a component html angular"

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 a component html angular"

Browse Popular Code Answers by Language