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.
2 parents c5281ca + 46aea24 commit e9e3dbfCopy full SHA for e9e3dbf
src/directives/link.js
@@ -52,7 +52,8 @@ export default function (Vue) {
52
return
53
}
54
// handle click
55
- this.el.addEventListener('click', bind(this.onClick, this))
+ this.handler = bind(this.onClick, this)
56
+ this.el.addEventListener('click', this.handler)
57
},
58
59
update (target) {
0 commit comments