ngClass (directive)
Improve this Doc View Source ngClass
- directive in module ng
The ngClass
directive allows you to dynamically set CSS classes on an HTML element by databinding an expression that represents all classes to be added.
The directive operates in three different ways, depending on which of three types t