Skip to content

Commit f99d095

Browse files
committed
translate pipeline/can-deactivate.md
1 parent 375f762 commit f99d095

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/ja/pipeline/can-deactivate.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
# `canDeactivate(transition) [-> Promise | Boolean]`
22

3-
Called on a leaving component during the validation phase.
3+
検証フェーズの間でコンポーネントから離れるときに呼び出されます。
44

5-
### Arguments
5+
### 引数
66

77
- [`transition {Transition}`](hooks.md#transition-object)
88

9-
Call `transition.next()` to resolve the hook. Calling `transition.abort()` will invalidate and cancel the transition.
9+
フックを解決するために、`transition.next()` を呼び出します。`transition.abort()` を呼び出すと、無効とトランジションをキャンセルします。
1010

11-
### Return Value
11+
### 戻り値
1212

13-
- Optionally return a Promise:
13+
- 任意で Promise を返します。
1414

1515
- `resolve(true)` -> `transition.next()`
1616
- `resolve(false)` -> `transition.abort()`
1717
- `reject(reason)` -> `transition.abort(reason)`
1818

19-
- Optionally return a Boolean:
19+
- 任意で Boolean を返します。
2020

2121
- `true` -> `transition.next()`
2222
- `false` -> `transition.abort()`
2323

24-
### Details
24+
### 詳細
2525

26-
This hook is called from bottom-up. A parent view component's `canDeactivate` only gets called when its child's `canDeactivate` has resolved.
26+
このフックはボトムアップから呼ばれます。親の view コンポーネント の `canDeactivate` は、子の `canDeactivate` が解決された時にのみ、呼び出されます。

0 commit comments

Comments
 (0)