2
0
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:
syropian
2020-07-02 13:00:48 -04:00
parent c08f8676be
commit c38be0096c
5 changed files with 20 additions and 5 deletions
+6 -1
View File
@@ -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;
+6 -1
View File
@@ -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;
+6 -1
View File
@@ -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;
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long