- 'List the live component tree of a connected page as an indented outline, one line per rendered instance: class name, host tag and instance id, then `[routed ...]` for a component a router outlet shows (its route, and the outlet name when it is not the primary one), `[directives: ...]` for the other directives on its host, and `[hydration: skipped]`, `[hydration: mismatched]` or `[hydration: client]` in a page rendered on the server when the host was not hydrated from the server HTML (see pangular:hydration). Elements that host directives but no component are lines too, as `<a> [routerLink] c14 [directive host: RouterLink]`, so the outline shows where directives sit; `directiveHosts: false` leaves them out. It carries no input or property values: pass an id to pangular:inspect-component for those, or to pangular:highlight to show it on the page. `filter` keeps the matching lines plus their ancestors: plain text found in a class name, host tag or directive (case-insensitive), `<tag>` for a host tag, and `[dir]` for a directive by selector attribute or class name, combined as in `<button> [matTooltip] save`; every part must match. `depth` stops the outline at that many levels (1 for the roots only; unlimited without it) and counts what it hides as `(+N below)`. Uses the most recent page that has a component tree unless `page` names another tab, and names the other tabs that report one. Says so when the page stopped collecting at its size limit, and when the outline itself is cut at 20,000 characters. Says that no component tree has been reported when no page is connected, and lists the reporting tabs when `page` names an unknown one.';
0 commit comments