Skip to content

ui-router-devtools / plugin / DevtoolsPlugin

Class: DevtoolsPlugin ​

Defined in: ui-router-devtools/src/plugin.ts:28

Appends a <ui-router-devtools> for the router to document.body; dispose() removes it.

Implements ​

Constructors ​

Constructor ​

ts
new DevtoolsPlugin(router, __namedParameters?): DevtoolsPlugin;

Defined in: ui-router-devtools/src/plugin.ts:33

Parameters ​

ParameterType
routerUIRouter
__namedParameters?DevtoolsPluginOptions

Returns ​

DevtoolsPlugin

Properties ​

PropertyTypeDefault valueDescriptionDefined in
namestring'devtools'The plugin's name in the router's plugin registry.ui-router-devtools/src/plugin.ts:30

Accessors ​

element ​

Get Signature ​

ts
get element(): UIRouterDevtools;

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

The <ui-router-devtools> the plugin appended.

Returns ​

UIRouterDevtools

Methods ​

dispose() ​

ts
dispose(): void;

Defined in: ui-router-devtools/src/plugin.ts:54

Instructs the Disposable to clean up any resources

Returns ​

void

Implementation of ​

UIRouterPlugin.dispose