Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how to check *ngIf with ENUMs in componenet.html

<span *ngIf="name === importedSomeEnum.someValue">This has some value</span>
Source by www.thetopsites.net #
 
PREVIOUS NEXT
Tagged: #check #ENUMs
ADD COMMENT
Topic
Name
3+9 =