We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 732633c commit 6fa4ba4Copy full SHA for 6fa4ba4
src/guide/extras/render-function.md
@@ -39,6 +39,10 @@ h('div', { id: 'foo' })
39
// Vue automatically picks the right way to assign it
40
h('div', { class: 'bar', innerHTML: 'hello' })
41
42
+// props modifiers such as .prop and .attr can be added
43
+// with '.' and `^' prefixes respectively
44
+h('div', { '.name': 'some-name', '^width': '100' })
45
+
46
// class and style have the same object / array
47
// value support that they have in templates
48
h('div', { class: [foo, { bar }], style: { color: 'red' } })
0 commit comments