You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/v2/api/index.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1742,7 +1742,8 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
1742
1742
-**Argument:**`attrOrProp (optional)`
1743
1743
1744
1744
-**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
+
1746
1747
-`.camel`- (2.1.0+) transform the kebab-case attribute name into camelCase.
1747
1748
-`.sync`- (2.3.0+) a syntax sugar that expands into a `v-on` handler for updating the bound value.
0 commit comments