DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR HTML
use boolean condition ngclass
[ngClass]="{'class1': condition==true, 'class2': condition==false}"
PREVIOUS
NEXT
Tagged:
#boolean
#condition
#ngclass
ADD COMMENT
Topic
COMMENT
Name
4+9 =
Submit