File

src/modules/routing/services/state-config-with-params.intf.ts

Description

This interface is used by StarkRoutingService in order to return the matching state based on a given URL.

Index

Properties

Properties

paramValues
paramValues: RawParams
Type : RawParams

An object containing the parameters key/value pairs passed at runtime to the current route state.

state
state: StateDeclaration
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;
}

results matching ""

    No results matching ""