@@ -115,19 +115,19 @@ const myDirective = {
115
115
// see below for details on arguments
116
116
},
117
117
// called right before the element is inserted into the DOM.
118
- beforeMount () {},
118
+ beforeMount (el , binding , vnode , prevVnode ) {},
119
119
// called when the bound element's parent component
120
120
// and all its children are mounted.
121
- mounted () {},
121
+ mounted (el , binding , vnode , prevVnode ) {},
122
122
// called before the parent component is updated
123
- beforeUpdate () {},
123
+ beforeUpdate (el , binding , vnode , prevVnode ) {},
124
124
// called after the parent component and
125
125
// all of its children have updated
126
- updated () {},
126
+ updated (el , binding , vnode , prevVnode ) {},
127
127
// called before the parent component is unmounted
128
- beforeUnmount () {},
128
+ beforeUnmount (el , binding , vnode , prevVnode ) {},
129
129
// called when the parent component is unmounted
130
- unmounted () {}
130
+ unmounted (el , binding , vnode , prevVnode ) {}
131
131
}
132
132
```
133
133
0 commit comments