guy 7 years ago
parent
commit
77a541ae8a
  1. 27
      dist/bundle.js
  2. 46
      dist/bundle.min.js
  3. 27
      dist/core.js
  4. 27
      dist/fineui.js
  5. 78
      dist/fineui.min.js
  6. 27
      src/core/widget.js

27
dist/bundle.js vendored

@ -12480,6 +12480,8 @@ BI.Widget = BI.inherit(BI.OB, {
}); });
}, },
beforeInit: null,
// 生命周期函数 // 生命周期函数
beforeCreate: null, beforeCreate: null,
@ -12502,15 +12504,22 @@ BI.Widget = BI.inherit(BI.OB, {
_init: function () { _init: function () {
BI.Widget.superclass._init.apply(this, arguments); BI.Widget.superclass._init.apply(this, arguments);
this.beforeCreate && this.beforeCreate(); var func = function () {
this._initRoot(); this.beforeCreate && this.beforeCreate();
this._initElementWidth(); this._initRoot();
this._initElementHeight(); this._initElementWidth();
this._initVisual(); this._initElementHeight();
this._initState(); this._initVisual();
this._initElement(); this._initState();
this._initEffects(); this._initElement();
this.created && this.created(); this._initEffects();
this.created && this.created();
};
if (this.beforeInit) {
this.beforeInit(BI.bind(func, this));
} else {
func.call(this);
}
}, },
/** /**

46
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

27
dist/core.js vendored

@ -12480,6 +12480,8 @@ BI.Widget = BI.inherit(BI.OB, {
}); });
}, },
beforeInit: null,
// 生命周期函数 // 生命周期函数
beforeCreate: null, beforeCreate: null,
@ -12502,15 +12504,22 @@ BI.Widget = BI.inherit(BI.OB, {
_init: function () { _init: function () {
BI.Widget.superclass._init.apply(this, arguments); BI.Widget.superclass._init.apply(this, arguments);
this.beforeCreate && this.beforeCreate(); var func = function () {
this._initRoot(); this.beforeCreate && this.beforeCreate();
this._initElementWidth(); this._initRoot();
this._initElementHeight(); this._initElementWidth();
this._initVisual(); this._initElementHeight();
this._initState(); this._initVisual();
this._initElement(); this._initState();
this._initEffects(); this._initElement();
this.created && this.created(); this._initEffects();
this.created && this.created();
};
if (this.beforeInit) {
this.beforeInit(BI.bind(func, this));
} else {
func.call(this);
}
}, },
/** /**

27
dist/fineui.js vendored

@ -12653,6 +12653,8 @@ BI.Widget = BI.inherit(BI.OB, {
}); });
}, },
beforeInit: null,
// 生命周期函数 // 生命周期函数
beforeCreate: null, beforeCreate: null,
@ -12675,15 +12677,22 @@ BI.Widget = BI.inherit(BI.OB, {
_init: function () { _init: function () {
BI.Widget.superclass._init.apply(this, arguments); BI.Widget.superclass._init.apply(this, arguments);
this.beforeCreate && this.beforeCreate(); var func = function () {
this._initRoot(); this.beforeCreate && this.beforeCreate();
this._initElementWidth(); this._initRoot();
this._initElementHeight(); this._initElementWidth();
this._initVisual(); this._initElementHeight();
this._initState(); this._initVisual();
this._initElement(); this._initState();
this._initEffects(); this._initElement();
this.created && this.created(); this._initEffects();
this.created && this.created();
};
if (this.beforeInit) {
this.beforeInit(BI.bind(func, this));
} else {
func.call(this);
}
}, },
/** /**

78
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

27
src/core/widget.js

@ -23,6 +23,8 @@ BI.Widget = BI.inherit(BI.OB, {
}); });
}, },
beforeInit: null,
// 生命周期函数 // 生命周期函数
beforeCreate: null, beforeCreate: null,
@ -45,15 +47,22 @@ BI.Widget = BI.inherit(BI.OB, {
_init: function () { _init: function () {
BI.Widget.superclass._init.apply(this, arguments); BI.Widget.superclass._init.apply(this, arguments);
this.beforeCreate && this.beforeCreate(); var func = function () {
this._initRoot(); this.beforeCreate && this.beforeCreate();
this._initElementWidth(); this._initRoot();
this._initElementHeight(); this._initElementWidth();
this._initVisual(); this._initElementHeight();
this._initState(); this._initVisual();
this._initElement(); this._initState();
this._initEffects(); this._initElement();
this.created && this.created(); this._initEffects();
this.created && this.created();
};
if (this.beforeInit) {
this.beforeInit(BI.bind(func, this));
} else {
func.call(this);
}
}, },
/** /**

Loading…
Cancel
Save