πŸ“Š Angular
Q. What is the purpose of the Renderer2 service in Angular?
  • (A) Manipulate DOM in a platform-independent way
  • (B) Handle HTTP calls
  • (C) Create components dynamically
  • (D) Manage forms
πŸ’¬ Discuss
βœ… Correct Answer: (A) Manipulate DOM in a platform-independent way

Explanation: Renderer2 allows safe DOM manipulation that works with different rendering environments.

Explanation by: Mr. Dubey
Renderer2 allows safe DOM manipulation that works with different rendering environments.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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