Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

angular.io hide

<div [style.visibility]="(numberOfUnreadAlerts == 0) ? 'hidden' : 'visible' ">
   COUNTER: {{numberOfUnreadAlerts}} 
</div>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #hide
ADD COMMENT
Topic
Name
6+5 =