Skip to content

Commit f091edc

Browse files
committed
docs: translate guide > component slots
1 parent 90eb124 commit f091edc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/guide/component-slots.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ app.component('todo-list', {
258258

259259
しかし、これは動作しません。というのも、 `item` にアクセスすることができるのは `<todo-list>` コンポーネントだけですが、ここで指定しているコンテンツは親コンポーネントで描画されるからです。
260260

261-
親コンポーネント内でスロットコンテンツとして `item` を使えるようにするためには、これを `<slot>` 要素の属性としてバインドします:
261+
親コンポーネント内でスロットコンテンツとして `item` を使えるようにするためには、これを `<slot>` 要素の属性として束縛します:
262262

263263
```html
264264
<ul>
@@ -268,7 +268,7 @@ app.component('todo-list', {
268268
</ul>
269269
```
270270

271-
You can bind as many attributes to the `slot` as you need:
271+
必要な数の属性を `slot` に束縛できます:
272272

273273
```html
274274
<ul>
@@ -278,7 +278,7 @@ You can bind as many attributes to the `slot` as you need:
278278
</ul>
279279
```
280280

281-
`<slot>` 要素にバインドされた属性は**スロットプロパティ** と呼ばれます。これで、親スコープ内で `v-slot` に値を指定して、渡されたスロットプロパティの名前を定義できます:
281+
`<slot>` 要素に束縛された属性は**スロットプロパティ** と呼ばれます。これで、親スコープ内で `v-slot` に値を指定して、渡されたスロットプロパティの名前を定義できます:
282282

283283
```html
284284
<todo-list>

0 commit comments

Comments
 (0)