Skip to content

ui-router-devtools / ui-router-devtools / ViewLocator

Interface: ViewLocator ​

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

What a renderer adds to the panel's Views: where a view is on the page. The panel calls it when one is set, and only for the live router, never for an imported session.

Methods ​

describe()? ​

ts
describe?(view): string | null;

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

Where the page shows the view, in words; null when the page has no element for it.

Parameters ​

ParameterType
viewViewInfo

Returns ​

string | null


highlight() ​

ts
highlight(view): void;

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

Marks the view's place on the page; null takes the mark away.

Parameters ​

ParameterType
viewViewInfo | null

Returns ​

void