ngStyle (directive)

Improve this Doc View Source ngStyle

  1. directive in module ng

The ngStyle directive allows you to set CSS style on an HTML element conditionally.

Directive Info

  • This directive executes at priority level 0.

Usage