Interface: Route

Oracle® JavaScript Extension Toolkit (JET)
10.0.0

F32683-01

Module:
  • ojcorerouter

QuickNav

Fields

Description

A Route defines the path and optional parameters to which a router will navigate. The Route.path must match a route config which was passed to the router via the CoreRouter constructor or CoreRouter.createChildRouter.


Usage

Signature:

interface CoreRouter.Route<P extends {[key: string]: any} = {[key: string]: any}>

Generic Parameters
ParameterDescription
PParameters object for the router state
Typescript Import Format
//To use this interface, import as below.
import {Route} from "ojs/ojcorerouter";

For additional information visit:


A Route defines the path and optional parameters to which a router will navigate. The Route.path must match a route config which was passed to the router via the CoreRouter constructor or CoreRouter.createChildRouter.

Fields

params :P

The path of the route

path :string

The path of the route