File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ app.component('todo-list', {
258
258
259
259
しかし、これは動作しません。というのも、 ` item ` にアクセスすることができるのは ` <todo-list> ` コンポーネントだけですが、ここで指定しているコンテンツは親コンポーネントで描画されるからです。
260
260
261
- 親コンポーネント内でスロットコンテンツとして ` item ` を使えるようにするためには、これを ` <slot> ` 要素の属性としてバインドします :
261
+ 親コンポーネント内でスロットコンテンツとして ` item ` を使えるようにするためには、これを ` <slot> ` 要素の属性として束縛します :
262
262
263
263
``` html
264
264
<ul >
@@ -268,7 +268,7 @@ app.component('todo-list', {
268
268
</ul >
269
269
```
270
270
271
- You can bind as many attributes to the ` slot ` as you need :
271
+ 必要な数の属性を ` slot ` に束縛できます :
272
272
273
273
``` html
274
274
<ul >
@@ -278,7 +278,7 @@ You can bind as many attributes to the `slot` as you need:
278
278
</ul >
279
279
```
280
280
281
- ` <slot> ` 要素にバインドされた属性は 、 ** スロットプロパティ** と呼ばれます。これで、親スコープ内で ` v-slot ` に値を指定して、渡されたスロットプロパティの名前を定義できます:
281
+ ` <slot> ` 要素に束縛された属性は 、 ** スロットプロパティ** と呼ばれます。これで、親スコープ内で ` v-slot ` に値を指定して、渡されたスロットプロパティの名前を定義できます:
282
282
283
283
``` html
284
284
<todo-list >
You can’t perform that action at this time.
0 commit comments