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
| Parameter | Type |
|---|---|
router | UIRouter |
__namedParameters? | DevtoolsPluginOptions |
Returns
DevtoolsPlugin
Properties
| Property | Type | Default value | Description | Defined in |
|---|---|---|---|---|
name | string | '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
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