src/modules/routing/services/state-config-with-params.intf.ts
This interface is used by StarkRoutingService in order to return the matching state based on a given URL.
Properties |
paramValues |
paramValues:
|
Type : RawParams
|
An object containing the parameters key/value pairs passed at runtime to the current route state. |
state |
state:
|
Type : StateDeclaration
|
Object containing the UI-Router definition of the route state. |
import { RawParams, StateDeclaration } from "@uirouter/core";
/**
* This interface is used by StarkRoutingService in order to return the matching state based on a given URL.
*/
export interface StarkStateConfigWithParams {
/**
* Object containing the UI-Router definition of the route state.
*/
state: StateDeclaration;
/**
* An object containing the parameters key/value pairs passed at runtime to the current route state.
*/
paramValues: RawParams;
}