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

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