We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab215a8 commit 7346720Copy full SHA for 7346720
examples/navigation-guards/app.js
@@ -9,10 +9,12 @@ const Bar = { template: '<div>bar</div>' }
9
10
/**
11
* Signatre of all route guards:
12
- * @param {Route} route
13
- * @param {Function} next - confirm the navigation
14
- * @param {Function} redirect - cancel and redirect to another route
15
- * @param {Function} abort - abort the navigation
+ * @param {Route} to
+ * @param {Route} from
+ * @param {Function} next
+ *
16
+ * See http://router.vuejs.org/en/advanced/navigation-guards.html
17
+ * for more details.
18
*/
19
function guardRoute (to, from, next) {
20
if (window.confirm(`Navigate to ${to.path}?`)) {
0 commit comments