Skip to content

Commit a7abd4f

Browse files
committed
doc(ja): Translate Transitioning Between Elements section in transition-enterleave page
1 parent e31ea69 commit a7abd4f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/guide/transitions-enterleave.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ Vue.createApp(Demo).mount('#demo')
427427

428428
## Transitions on Initial Render
429429

430-
If you also want to apply a transition on the initial render of a node, you can add the `appear` attribute:
430+
ノードの初期描画時にトランジションを適用したい場合は、`appear` 属性を追加することができます:
431431

432432
```html
433433
<transition appear>
@@ -437,7 +437,7 @@ If you also want to apply a transition on the initial render of a node, you can
437437

438438
## Transitioning Between Elements
439439

440-
We discuss [transitioning between components](#transitioning-between-components) later, but you can also transition between raw elements using `v-if`/`v-else`. One of the most common two-element transitions is between a list container and a message describing an empty list:
440+
あとで [コンポーネント間のトランジション](#コンポーネント間のトランジション) について説明しますが、`v-if`/`v-else` を使った通常の要素同士でもトランジションできます。最も共通の2つの要素のトランジションの例として、リストコンテナとリストが空と説明するメッセージの間で行うものがあります:
441441

442442
```html
443443
<transition>
@@ -448,7 +448,7 @@ We discuss [transitioning between components](#transitioning-between-components)
448448
</transition>
449449
```
450450

451-
It's actually possible to transition between any number of elements, either by using multiple `v-if`s or binding a single element to a dynamic property. For example:
451+
`v-if` を複数使ったり、ひとつの要素に対して動的プロパティでバインディングを行ういずれの場合でも、複数個の要素を対象にトランジションすることが可能です。例:
452452

453453
TODO: rewrite example and put in codepen example
454454

@@ -466,7 +466,7 @@ TODO: rewrite example and put in codepen example
466466
</transition>
467467
```
468468

469-
Which could also be written as:
469+
このようにも書き換えることもできます:
470470

471471
```html
472472
<transition>

0 commit comments

Comments
 (0)