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 598182e commit aaa22abCopy full SHA for aaa22ab
src/guide/render-function.md
@@ -160,6 +160,20 @@ One thing to note: similar to how `v-bind:class` and `v-bind:style` have special
160
nativeOn: {
161
click: this.nativeClickHandler
162
},
163
+ // Custom directives. Note that the binding's
164
+ // oldValue cannot be set, as Vue keeps track
165
+ // of it for you.
166
+ directives: [
167
+ {
168
+ name: 'my-custom-directive',
169
+ value: '2'
170
+ expression: '1 + 1',
171
+ arg: 'foo',
172
+ modifiers: {
173
+ bar: true
174
+ }
175
176
+ ],
177
// The name of a slot if the child of a component
178
slot: 'name-of-slot'
179
// Other special top-level properties
0 commit comments