Interface: Route

Oracle® JavaScript Extension Toolkit (JET)
9.2.0

F30740-01

Signature:

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

QuickNav

Fields

CoreRouter. Route

Version:
  • 9.2.0
Module:
  • ojcorerouter

Module usage

See JET Module Loading for an overview of module usage within JET.

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

JET In Typescript

A detailed description of working with JET elements and classes in your typescript project can be found at: JET Typescript Usage.

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