Skip to content

Commit 4eac404

Browse files
fix: reverted change for .attr modifier
1 parent 0c15501 commit 4eac404

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/api/built-in-directives.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ Dynamically bind one or more attributes, or a component prop to an expression.
319319
<svg><a :xlink:special="foo"></a></svg>
320320
```
321321

322-
The `.prop` modifier has a dedicated shorthand, `.`:
322+
The `.prop` modifier also has a dedicated shorthand, `.`:
323323

324324
```vue-html
325325
<div :someProperty.prop="someObject"></div>
@@ -328,15 +328,6 @@ Dynamically bind one or more attributes, or a component prop to an expression.
328328
<div .someProperty="someObject"></div>
329329
```
330330

331-
The `.attr` modifier has a shorthand `^`:
332-
333-
```vue-html
334-
<div :someProperty.attr="someObject"></div>
335-
336-
<!-- equivalent to -->
337-
<div ^someProperty="someObject"></div>
338-
```
339-
340331
The `.camel` modifier allows camelizing a `v-bind` attribute name when using in-DOM templates, e.g. the SVG `viewBox` attribute:
341332

342333
```vue-html

0 commit comments

Comments
 (0)