A

Admin • 833.24K Points
Coach

Q. What does ViewChild return by default?

  • (A) Component instance only
  • (B) ElementRef or component/directive instance
  • (C) HTML string
  • (D) Observable

Explanation by: Admin

@ViewChild provides access to DOM element or component.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.