Skip to content

Commit bd893d9

Browse files
fix: fixed quotes
1 parent 9c98629 commit bd893d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/extras/render-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ h('div', { id: 'foo' })
4040
h('div', { class: 'bar', innerHTML: 'hello' })
4141

4242
// props modifiers such as .prop and .attr can be added via shorthands
43-
h('div', { .name: 'some-name', ^width: '100' })
43+
h('div', { '.name': 'some-name', '^width': '100' })
4444

4545
// class and style have the same object / array
4646
// value support that they have in templates

0 commit comments

Comments
 (0)