Skip to content

ui-router-devtools / ui-router-devtools / viewTree

Function: viewTree() ​

ts
function viewTree(views): ViewNode[];

Defined in: ui-router-devtools/src/views.ts:50

Nests views by their fqn: a view sits inside the view named by its fqn without the last segment. A view whose enclosing view is not registered is drawn at the top. Siblings keep the order they are given in.

Parameters ​

ParameterType
viewsreadonly ViewInfo[]

Returns ​

ViewNode[]