mirror of
https://github.com/tenrok/vue-tribute.git
synced 2026-06-25 04:50:35 +03:00
Updates build files
This commit is contained in:
Vendored
+6
-1
@@ -26,7 +26,7 @@ var VueTribute = {
|
|||||||
_this.tribute.detach($el);
|
_this.tribute.detach($el);
|
||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
var $el = _this.$slots.default[0].elm;
|
$el = _this.$slots.default[0].elm;
|
||||||
_this.tribute = new Tribute(_this.options);
|
_this.tribute = new Tribute(_this.options);
|
||||||
|
|
||||||
_this.tribute.attach($el);
|
_this.tribute.attach($el);
|
||||||
@@ -47,6 +47,11 @@ var VueTribute = {
|
|||||||
this.tribute = new Tribute(this.options);
|
this.tribute = new Tribute(this.options);
|
||||||
this.tribute.attach($el);
|
this.tribute.attach($el);
|
||||||
$el.tributeInstance = this.tribute;
|
$el.tributeInstance = this.tribute;
|
||||||
|
$el.addEventListener("tribute-replaced", function (e) {
|
||||||
|
e.detail.event.target.dispatchEvent(new Event("input", {
|
||||||
|
bubbles: true
|
||||||
|
}));
|
||||||
|
});
|
||||||
},
|
},
|
||||||
beforeDestroy: function beforeDestroy() {
|
beforeDestroy: function beforeDestroy() {
|
||||||
var $el = this.$slots.default[0].elm;
|
var $el = this.$slots.default[0].elm;
|
||||||
|
|||||||
Vendored
+6
-1
@@ -22,7 +22,7 @@ var VueTribute = {
|
|||||||
_this.tribute.detach($el);
|
_this.tribute.detach($el);
|
||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
var $el = _this.$slots.default[0].elm;
|
$el = _this.$slots.default[0].elm;
|
||||||
_this.tribute = new Tribute(_this.options);
|
_this.tribute = new Tribute(_this.options);
|
||||||
|
|
||||||
_this.tribute.attach($el);
|
_this.tribute.attach($el);
|
||||||
@@ -43,6 +43,11 @@ var VueTribute = {
|
|||||||
this.tribute = new Tribute(this.options);
|
this.tribute = new Tribute(this.options);
|
||||||
this.tribute.attach($el);
|
this.tribute.attach($el);
|
||||||
$el.tributeInstance = this.tribute;
|
$el.tributeInstance = this.tribute;
|
||||||
|
$el.addEventListener("tribute-replaced", function (e) {
|
||||||
|
e.detail.event.target.dispatchEvent(new Event("input", {
|
||||||
|
bubbles: true
|
||||||
|
}));
|
||||||
|
});
|
||||||
},
|
},
|
||||||
beforeDestroy: function beforeDestroy() {
|
beforeDestroy: function beforeDestroy() {
|
||||||
var $el = this.$slots.default[0].elm;
|
var $el = this.$slots.default[0].elm;
|
||||||
|
|||||||
Vendored
+6
-1
@@ -1817,7 +1817,7 @@
|
|||||||
_this.tribute.detach($el);
|
_this.tribute.detach($el);
|
||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
var $el = _this.$slots.default[0].elm;
|
$el = _this.$slots.default[0].elm;
|
||||||
_this.tribute = new Tribute(_this.options);
|
_this.tribute = new Tribute(_this.options);
|
||||||
|
|
||||||
_this.tribute.attach($el);
|
_this.tribute.attach($el);
|
||||||
@@ -1838,6 +1838,11 @@
|
|||||||
this.tribute = new Tribute(this.options);
|
this.tribute = new Tribute(this.options);
|
||||||
this.tribute.attach($el);
|
this.tribute.attach($el);
|
||||||
$el.tributeInstance = this.tribute;
|
$el.tributeInstance = this.tribute;
|
||||||
|
$el.addEventListener("tribute-replaced", function (e) {
|
||||||
|
e.detail.event.target.dispatchEvent(new Event("input", {
|
||||||
|
bubbles: true
|
||||||
|
}));
|
||||||
|
});
|
||||||
},
|
},
|
||||||
beforeDestroy: function beforeDestroy() {
|
beforeDestroy: function beforeDestroy() {
|
||||||
var $el = this.$slots.default[0].elm;
|
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