8000
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 2e1e9e4 commit 1df5eb6Copy full SHA for 1df5eb6
src/directives/if.js
@@ -107,6 +107,11 @@ module.exports = {
107
}
108
this.unlink()
109
this.unlink = null
110
+ },
111
+
112
+ // NOTE: this function is shared in v-partial
113
+ unbind: function () {
114
+ if (this.unlink) this.unlink()
115
116
117
src/directives/partial.js
@@ -9,6 +9,7 @@ module.exports = {
9
// same logic reuse from v-if
10
compile: vIf.compile,
11
teardown: vIf.teardown,
12
+ unbind: vIf.unbind,
13
14
bind: function () {
15
var el = this.el
0 commit comments