Parameter Description D Detail object for the router state P Parameters object for the router state
Typescript Import Format
//To use this interface, import as below.
import CoreRouter= require("ojs/ojcorerouter");
//To access this interface in your code,
let myVariable: CoreRouter.CoreRouterState;
For additional information visit:
The detail object for the state, if configured.
Parameters for the state. Parameters are passed to the state via the CoreRouter.go method.
The path of the state. This will always be the string used to navigate to the current state, even if the original path for the route was defined as a RegExp.