1

Which directive would you use to show an element only when a condition is true?

Correct Answer: *ngIf

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 show an element only when a condition is true? | Extra Education