Back to Browse

ngClass Directive in Angular | Directives | Angular 12+

49.4K views
Jan 22, 2022
7:55

In this lecture, you will learn about ngClass directive. The ngClass is a built-in directive of angular and it is used to set a CSS class of an HTML element dynamically based on a given typescript expression. In this lecture, let's learn about ngClass directive with an example, and how we can use it to set the CSS class of an HTML element dynamically.

Download

1 formats

Video Formats

360pmp410.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

ngClass Directive in Angular | Directives | Angular 12+ | NatokHD