Skip to content

Commit d7935d8

Browse files
authored
Merge pull request #9 from selvarajmas/patch-3
Update component-slots.md
2 parents c06d7a1 + 5244e3d commit d7935d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/component-slots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ function (slotProps) {
354354
}
355355
```
356356

357-
これは、`v-slot` の値が関数定義の引数部分で有効な任意の JavaScript 式を受け付けることを意味します。そのため、特定のスロットプロパティを取得するために [ES2015 の分割代入](https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment#Object_destructuring) を使うこともできます:
357+
これは、`v-slot` の値が関数定義の引数部分で有効な任意の JavaScript 式を受け付けることを意味します。そのため、特定のスロットプロパティを取得するために [ES2015 の分割代入](https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment#オブジェクトの分割代入) を使うこともできます:
358358

359359
```html
360360
<todo-list v-slot="{ item }">

0 commit comments

Comments
 (0)