Search
 
SCRIPT & CODE EXAMPLE
 

HTML

use boolean condition ngclass

[ngClass]="{'class1': condition==true, 'class2': condition==false}"
Comment

use boolean condition ngclass

[ngClass]="{'class1': condition==true, 'class2': condition==false}"
Comment

PREVIOUS NEXT
Code Example
Html :: <marquee</marquee tag 
Html :: bootstrap 5 card common 
Html :: how to align select in table cell center html 
Html :: React Css Class Module 
Html :: bootstrap nav tabs example 
Html :: contenteditable attribute 
Html :: html-search-bar 
Html :: common sample sql databases for practice 
Html :: carousel html example 
Html :: html input address 
Html :: bootstrap jumbotron with navbar 
Html :: html input attributes 
Html :: html cite 
Html :: html date min today 
Html :: python download html as string 
Html :: html snippet 
Html :: preload html 
Html :: html select option text color 
Html :: mobile navigation bar 
Html :: roslaunch if else 
Html :: how to run an html file 
Html :: ng-container vue equvalent 
Html :: change text color exactly one word inside text html 
Html :: make dictionary english html 
Html :: data-block-on-consent 
Html :: html datalist 
Html :: html bulleted list 
Html :: square radio button in html 
Html :: leaderboard html 
Html :: strip html from text 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =