File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
doc/01 Route Configuration Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -124,19 +124,20 @@ created from the child route component. Please refer to the
124
124
[ overview] [ overview ] since this is a very critical part of the router's
125
125
design.
126
126
127
- ### ` onEnter(nextState, router ) `
127
+ ### ` onEnter(nextState, transition ) `
128
128
129
129
Called when a route is about to be entered. It provides the next router
130
- state and the router instance for cancelling/redirecting the transition .
130
+ state and the [ transition ] [ Transition ] instance for cancelling/redirecting.
131
131
132
- ### ` onLeave(nextState, router ) `
132
+ ### ` onLeave(nextState, transition ) `
133
133
134
134
Called when a route is about to be exited. It provides the next router
135
- state and the router instance for cancelling/redirecting the transition .
135
+ state and the [ transition ] [ Transition ] instance for cancelling/redirecting.
136
136
137
137
[ overview ] :#TODO
138
138
[ path-matching ] :#TODO
139
139
[ ignoreScrollBehavior ] :#TODO
140
140
[ instragram-example ] :#TODO
141
141
[ history ] :#TODO
142
+ [ Transition ] :#TODO
142
143
You can’t perform that action at this time.
0 commit comments