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.
Interface: Route
Oracle® JavaScript Extension Toolkit (JET)
9.1.0
F30737-01
Signature:
interface CoreRouter.Route<P extends {[key: string]: any} = {[key: string]: any}>
CoreRouter. Route
- Version:
- 9.1.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
Parameter Description P Parameters 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.