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
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -642,7 +642,7 @@ if (version === 2) {
642
642
An alternative to string templates allowing you to leverage the full programmatic power of JavaScript. The render function receives a `createElement` method as it's first argument used to create `VNode`s.
643
643
644
644
If the component is a functional component, the render function also receives an extra argument `context`, which provides access to contextual data since functional components are instance-less.
645
-
645
+
646
646
<pclass="tip">The `render` function has priority over the render function compiled from `template` option or in-DOM HTML template of the mounting element which is specified by the `el` option.</p>
647
647
648
648
-**See also:**
@@ -1772,6 +1772,9 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
1772
1772
<!-- prop binding. "prop" must be declared in my-component. -->
1773
1773
<my-component :prop="someThing"></my-component>
1774
1774
1775
+
<!-- pass down parent props in common with a child component -->
0 commit comments