Skip to content

Commit e19076d

Browse files
davidhewittchrisvfritz
authored andcommitted
Clarify .prop modifier interacting with components (#966)
* Clarify .prop modifier interacting with components * Move .prop text into bullets * Remove whitespace
1 parent 95e9ce8 commit e19076d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/v2/api/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1742,7 +1742,8 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
17421742
- **Argument:** `attrOrProp (optional)`
17431743

17441744
- **Modifiers:**
1745-
- `.prop` - Bind as a DOM property instead of an attribute. ([what's the difference?](http://stackoverflow.com/questions/6003819/properties-and-attributes-in-html#answer-6004028))
1745+
- `.prop` - Bind as a DOM property instead of an attribute ([what's the difference?](http://stackoverflow.com/questions/6003819/properties-and-attributes-in-html#answer-6004028)). If the tag is a component then `.prop` will set the property on the component's `$el`.
1746+
17461747
- `.camel` - (2.1.0+) transform the kebab-case attribute name into camelCase.
17471748
- `.sync` - (2.3.0+) a syntax sugar that expands into a `v-on` handler for updating the bound value.
17481749

0 commit comments

Comments
 (0)