πŸ“Š Angular
Q. What is a structural directive in Angular?
  • (A) A directive that changes CSS styles
  • (B) A directive that changes layout by adding/removing DOM elements
  • (C) A directive that logs events
  • (D) A directive that handles animations
πŸ’¬ Discuss
βœ… Correct Answer: (B) A directive that changes layout by adding/removing DOM elements

Explanation: Structural directives like *ngIf or *ngFor modify the DOM layout.

Explanation by: Mr. Dubey
Structural directives like *ngIf or *ngFor modify the DOM layout.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
60
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate