Skip to content

Commit 1922783

Browse files
fix: tweaked the wording on prefixes
1 parent 4eac404 commit 1922783

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/guide/extras/render-function.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ h('div', { id: 'foo' })
3939
// Vue automatically picks the right way to assign it
4040
h('div', { class: 'bar', innerHTML: 'hello' })
4141

42-
// props modifiers such as .prop and .attr can be added via shorthands
42+
// props modifiers such as .prop and .attr can be added
43+
// with '.' and `^' prefixes respectively
4344
h('div', { '.name': 'some-name', '^width': '100' })
4445

4546
// class and style have the same object / array

0 commit comments

Comments
 (0)