Skip to content

Commit bb9b3f7

Browse files
authored
Update render-function.md (#2272)
1 parent 7bfbea4 commit bb9b3f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/extras/render-function.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +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
43-
// with '.' and `^' prefixes respectively
42+
// props modifiers such as `.prop` and `.attr` can be added
43+
// with `.` and `^` prefixes respectively
4444
h('div', { '.name': 'some-name', '^width': '100' })
4545

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

0 commit comments

Comments
 (0)