Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular dynamic class

<button [ngClass]="type === 'mybutton' ? namespace + '-mybutton' : ''"></button>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angular #dynamic #class
ADD COMMENT
Topic
Name
9+7 =