Developer Preview Feature
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
A route handler receives a RouteInstance when a new client-side navigation event occurs. RouteInstance contains location information passed to RouteHandler.update. The route handler uses the RouteInstance to determine which view to show.
1interface RouteInstance {
2 id: string; // RouteDefinition.id
3 pageReference: PageReference;
4 label: string;
5}| Property | Type | Required/Optional | Description |
|---|---|---|---|
id | String | Required | The unique identifier for the RouteDefinition. |
pageReference | PageReference object | Required | The PageReference object for the navigation event. |
1{
2 id: '1',
3 pageReference: {
4 type: 'animal',
5 attributes: { pageName: 'animal' },
6 state: {},
7 },
8},See Also
Developer Preview Feature