How to access component tree in Angular 2

Is there a way in angular 2 to access the component tree or a specific component instance given by the selector or css class associated with it or something like what we do in jquery to find the DOM elements from its css?

+5
source share
1 answer

The easiest way to debug and view the component tree for any corner application is to use Augury , a popular extension for dev tools available for both chrome and firefox.

0
source

Source: https://habr.com/ru/post/1241275/


All Articles