-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
ui5-typescript-walkthrough/steps/30/README.md
Line 226 in 8344270
| What is still missing is the event handler that performs a navigation to the detail page by clicking an item in the invoice list: To access the router instance for our app we first need to cast `this.getOwnerComponent()`to our component, then we can call the helper method `getRouter()`. On the router we call the `navTo` method passing the pattern name we defined in our app descriptor for routing to the details page. |
To access the router instance for our app we first need to cast this.getOwnerComponent()to our component, then we can call the helper method getRouter().
The code sample:
const router = UIComponent.getRouterFor(this);
ui5-typescript-walkthrough/steps/30/README.md
Line 242 in 8344270
| public formatter = formatter; |
ui5-typescript-walkthrough/steps/31/README.md
Line 103 in 8344270
| public formatter = formatter; |
The public property formatter was never defined in the previous steps. This must be some remains of previous versions of this tutorial.
Metadata
Metadata
Assignees
Labels
No labels