Skip to content

Commit 55ef7e2

Browse files
committed
small api tweaks/fixes
1 parent 0830fc3 commit 55ef7e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/v2/api/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2013,7 +2013,7 @@ type: api
20132013
</div>
20142014
```
20152015

2016-
Since 2.6, `v-for` can also work on values that implement the [Iterable Protocol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol), including native `Map` and `Set`. However it should be noted that Vue 2.x currently does not support reactivity detection on `Map` and `Set` values.
2016+
In 2.6+, `v-for` can also work on values that implement the [Iterable Protocol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol), including native `Map` and `Set`. However, it should be noted that Vue 2.x currently does not support reactivity on `Map` and `Set` values, so cannot automatically detect changes.
20172017

20182018
<p class="tip">When used together with v-if, v-for has a higher priority than v-if. See the <a href="../guide/list.html#v-for-with-v-if">list rendering guide</a> for details.</p>
20192019

@@ -2169,7 +2169,7 @@ type: api
21692169
<!-- DOM attribute binding with prop modifier -->
21702170
<div v-bind:text-content.prop="text"></div>
21712171
2172-
<!-- shorthand for prop modifier (2.6.0+) -->
2172+
<!-- shorthand for DOM prop modifier (2.6.0+) -->
21732173
<div .text-content="text"></div>
21742174
21752175
<!-- prop binding. "prop" must be declared in my-component. -->

0 commit comments

Comments
 (0)