Skip to content

Commit 845fff2

Browse files
committed
Revert "2.6: document shorthand for v-bind .prop modifier"
This reverts commit f639b83.
1 parent 77674dd commit 845fff2

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

src/v2/api/index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2169,9 +2169,6 @@ type: api
21692169
<!-- DOM attribute binding with prop modifier -->
21702170
<div v-bind:text-content.prop="text"></div>
21712171
2172-
<!-- shorthand for DOM prop modifier (2.6.0+) -->
2173-
<div .text-content="text"></div>
2174-
21752172
<!-- prop binding. "prop" must be declared in my-component. -->
21762173
<my-component :prop="someThing"></my-component>
21772174

src/v2/guide/syntax.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -192,18 +192,6 @@ The `v-` prefix serves as a visual cue for identifying Vue-specific attributes i
192192
<a :[key]="url"> ... </a>
193193
```
194194

195-
#### DOM Property Shorthand
196-
197-
In 2.6.0+, a separate shorthand for explicit DOM property bindings (with the `.prop` modifier) have been introduced:
198-
199-
``` html
200-
<!-- full syntax -->
201-
<video v-bind:muted.prop="isMuted"> ... </video>
202-
203-
<!-- shorthand -->
204-
<video .muted="isMuted"> ... </video>
205-
```
206-
207195
### `v-on` Shorthand
208196

209197
``` html

0 commit comments

Comments
 (0)