1

Which directive would you use to dynamically add or remove CSS classes based on a condition?

Correct Answer: ngClass

Make the most of this question

This page focuses on one Angular MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Angular MCQs MCQ: Which directive would you use to dynamically add or remove CSS classes based on a condition? | Extra Education