mirror of
https://github.com/tenrok/vue-tribute.git
synced 2026-06-20 22:40:36 +03:00
Updates build files
This commit is contained in:
Vendored
+6
-1
@@ -26,7 +26,7 @@ var VueTribute = {
|
||||
_this.tribute.detach($el);
|
||||
|
||||
setTimeout(function () {
|
||||
var $el = _this.$slots.default[0].elm;
|
||||
$el = _this.$slots.default[0].elm;
|
||||
_this.tribute = new Tribute(_this.options);
|
||||
|
||||
_this.tribute.attach($el);
|
||||
@@ -47,6 +47,11 @@ var VueTribute = {
|
||||
this.tribute = new Tribute(this.options);
|
||||
this.tribute.attach($el);
|
||||
$el.tributeInstance = this.tribute;
|
||||
$el.addEventListener("tribute-replaced", function (e) {
|
||||
e.detail.event.target.dispatchEvent(new Event("input", {
|
||||
bubbles: true
|
||||
}));
|
||||
});
|
||||
},
|
||||
beforeDestroy: function beforeDestroy() {
|
||||
var $el = this.$slots.default[0].elm;
|
||||
|
||||
Vendored
+6
-1
@@ -22,7 +22,7 @@ var VueTribute = {
|
||||
_this.tribute.detach($el);
|
||||
|
||||
setTimeout(function () {
|
||||
var $el = _this.$slots.default[0].elm;
|
||||
$el = _this.$slots.default[0].elm;
|
||||
_this.tribute = new Tribute(_this.options);
|
||||
|
||||
_this.tribute.attach($el);
|
||||
@@ -43,6 +43,11 @@ var VueTribute = {
|
||||
this.tribute = new Tribute(this.options);
|
||||
this.tribute.attach($el);
|
||||
$el.tributeInstance = this.tribute;
|
||||
$el.addEventListener("tribute-replaced", function (e) {
|
||||
e.detail.event.target.dispatchEvent(new Event("input", {
|
||||
bubbles: true
|
||||
}));
|
||||
});
|
||||
},
|
||||
beforeDestroy: function beforeDestroy() {
|
||||
var $el = this.$slots.default[0].elm;
|
||||
|
||||
Vendored
+6
-1
@@ -1817,7 +1817,7 @@
|
||||
_this.tribute.detach($el);
|
||||
|
||||
setTimeout(function () {
|
||||
var $el = _this.$slots.default[0].elm;
|
||||
$el = _this.$slots.default[0].elm;
|
||||
_this.tribute = new Tribute(_this.options);
|
||||
|
||||
_this.tribute.attach($el);
|
||||
@@ -1838,6 +1838,11 @@
|
||||
this.tribute = new Tribute(this.options);
|
||||
this.tribute.attach($el);
|
||||
$el.tributeInstance = this.tribute;
|
||||
$el.addEventListener("tribute-replaced", function (e) {
|
||||
e.detail.event.target.dispatchEvent(new Event("input", {
|
||||
bubbles: true
|
||||
}));
|
||||
});
|
||||
},
|
||||
beforeDestroy: function beforeDestroy() {
|
||||
var $el = this.$slots.default[0].elm;
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user