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 bdf109f commit fe4dfd0Copy full SHA for fe4dfd0
src/directive.js
@@ -73,12 +73,14 @@ Directive.prototype._bind = function () {
73
removeBindAttr(this.el, name)
74
} else if (name === 'on') {
75
this.el.removeAttribute('on-' + this.arg)
76
- } else if (name === 'transition' || name === 'el') {
+ } else if (name === 'transition') {
77
if (this.arg) {
78
79
} else {
80
this.el.removeAttribute(name)
81
}
82
+ } else if (name === 'el') {
83
+ this.el.removeAttribute('$$.' + this.expression)
84
85
86
if (typeof def === 'function') {
0 commit comments