Skip to content

ui-router-navigation-location-plugin / isUIRouterNavigateEvent

Function: isUIRouterNavigateEvent() ​

ts
function isUIRouterNavigateEvent(event?): event is UIRouterNavigateEvent;

Defined in: index.ts:52

Whether a navigate event was started by this plugin, as opposed to a link or script.

Use it in a navigate listener that observes navigations to read the router off event.info. The service intercepts these events itself; extra work on them goes through NavigationLocationPluginOptions.intercept.

Parameters ​

ParameterType
event?NavigateEvent

Returns ​

event is UIRouterNavigateEvent