This commit is contained in:
BoHung Chiu 2021-04-10 17:34:17 +08:00
parent eeeff9ad6b
commit 7ae01062b1
1 changed files with 6 additions and 2 deletions

View File

@ -258,8 +258,12 @@
}
utils.extend(Item.prototype, EventEmitter.prototype);
Item.prototype._create = function () {
this._transn = { ingProperties: {}, clean: {}, onEnd: {} };
this.css({ position: 'absolute' })
this._transn = { ingProperties: {}, clean: {}, onEnd: {} };
var el = $(this.element);
if(el.hasClass("row")){
el.css("width","100%");
}
this.css({ position: 'absolute' })
};
Item.prototype.handleEvent = function (event) {
var method = 'on' + event.type;