File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -2169,9 +2169,6 @@ type: api
2169
2169
<!-- DOM attribute binding with prop modifier -->
2170
2170
<div v-bind:text-content.prop="text"></div>
2171
2171
2172
- <!-- shorthand for DOM prop modifier (2.6.0+) -->
2173
- <div .text-content="text"></div>
2174
-
2175
2172
<!-- prop binding. "prop" must be declared in my-component. -->
2176
2173
<my-component :prop="someThing"></my-component>
2177
2174
Original file line number Diff line number Diff line change @@ -192,18 +192,6 @@ The `v-` prefix serves as a visual cue for identifying Vue-specific attributes i
192
192
<a :[key] =" url" > ... </a >
193
193
```
194
194
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
-
207
195
### ` v-on ` Shorthand
208
196
209
197
``` html
You can’t perform that action at this time.
0 commit comments