adspace
Answer Posted / Ajay Kumar Pandey
ng-Class is used to set CSS classes on an HTML element based on a condition, while ng-Style is used to set inline styles. With ng-Class, you specify an array of class names that should be applied or removed depending on the condition, while with ng-Style, you set properties and values for individual CSS attributes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to use primeng in angular 4?
What is the latest version of angular?
How can primeng be used with angular2?
How to enable html5 mode in angular 1.x?
What is a dynamic route in angularjs and how do you implement it?
How to create angularjs filter which outputs html?
How to implement a datagrid table with angular 2 and primeng?
What is the latest angular?
How to get and log an error in angular 4?
Angularjs dependency injection of value inside of the module.config?
Give the example of angularjs strings?
Which version you are using js?
How an object or function can get a hold of its dependencies?