Skip to content

Commit 5893c53

Browse files
committed
clarify createElement arguments, fixes #1524
1 parent 5b119fe commit 5893c53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/v2/guide/render-function.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ The next thing you'll have to become familiar with is how to use template featur
138138
// @returns {VNode}
139139
createElement(
140140
// {String | Object | Function}
141-
// An HTML tag name, component options, or function
142-
// returning one of these. Required.
141+
// An HTML tag name, component options, or async
142+
// function resolving to one of these. Required.
143143
'div',
144144

145145
// {Object}
@@ -605,7 +605,7 @@ If you are using template-based functional components, you will also have to man
605605
<template functional>
606606
<button
607607
class="btn btn-primary"
608-
v-bind="data.attrs"
608+
v-bind="data.attrs"
609609
v-on="listeners"
610610
>
611611
<slot/>

0 commit comments

Comments
 (0)