on 05-20-2016 3:55 PM
Hi all,
I started to learn sapui5 one month ago and am now developing a simple web application. when dealing with routing, I noticed that some are using Router.getRoute("patternname").attachMatched(this._onRouteMatched, this) and others are using Router.getRoute("patternname").attachPatternMatched(this._routePatternMatched, this). Therefore, is there any difference between attachMatched & attachPatternMatched method? Moreover, though I checked the API, I can't see any explicit difference between them.
Do you have any idea? Thank you in advance.
Best regards,
Tula
rout a
subrout b
if you hit b, the route will fire patternmatched, for the parent route, it will fire matched event
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.