Skip to content

Commit 7a496ac

Browse files
committed
tralslate api/after-each.md
1 parent 21a1f23 commit 7a496ac

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/ja/api/after-each.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# `router.afterEach(hook)`
22

3-
Set the global after hook, which will be called every time when a route transition successfully **enters the activation phase**.
3+
route トランジションが正常に**活性化フェーズに入る**とき毎回呼び出されるグローバルアフターフック (global after hook) を設定します。
44

5-
Note this hook being called only means the transition has been validated, i.e. all `canDeactivate` and `canActivate` hooks have successfully resolved and the browser URL has been updated. It does not guarantee that all `activate` hooks have been resolved.
5+
このフックが唯一トランジションが検証されたという意味を表すとき呼ぼれるのを注意してください。すなわち、全ての `canDeactivate` `canActivate` フックが正常に解決し、ブラウザ URL が更新されます。これは、全ての `activate` フックが解決されたことを保証しません。
66

7-
You can only have one global after hook at a time; however you can implement your own middleware system inside this hook.
7+
一度フックする前の唯一のグローバルです。しかしながら、このフック内部であなた自身のミドルウェアシステムを実装することができます。
88

9-
### Arguments
9+
### 引数
1010

1111
- `hook {Function}`
1212

13-
The hook function receives a single argument which is a [Transition Object](../pipeline/hooks.html#transition-object), but you can only access its `to` and `from` properties, which are route objects. You **cannot** call transition methods in the global after hook.
13+
hook 関数は[トランジションオブジェクト](../pipeline/hooks.html#transition-object)な単一の引数を受信します。しかし、route オブジェクトは `to` `from` プロパティ のみだけアクセスすることができます。フック後、グローバルではトランジションメソッドを呼び出すことは**できません**
1414

15-
### Example
15+
###
1616

1717
``` js
1818
router.afterEach(function (transition) {

0 commit comments

Comments
 (0)