Skip to main content

One doc tagged with "ngClass"

View All Tags

ngClass

ngClass is a built-in directive in Angular that allows you to dynamically add or remove CSS classes to an HTML element based on an expression. This directive is particularly useful for changing the appearance of elements in response to component state or user interactions.