Browse Source

Merge pull request #322 in ~GUY/fineui from ~YOUNG/fineuig:master to master

* commit '265094e88f2233cc71244e354a55b33a4477ae5c':
  pane中在beforeinit前后加入loading效果
es6
Young 7 years ago
parent
commit
7cd5375e6e
  1. 10
      dist/base.js
  2. 10
      dist/bundle.js
  3. 10
      dist/fineui.js
  4. 10
      src/base/pane.js

10
dist/base.js vendored

@ -224,6 +224,16 @@ BI.Pane = BI.inherit(BI.Widget, {
_init: function () { _init: function () {
BI.Pane.superclass._init.apply(this, arguments); BI.Pane.superclass._init.apply(this, arguments);
if (this.beforeInit) {
this.loading();
}
},
_render: function () {
BI.Pane.superclass._render.apply(this, arguments);
if (this.beforeInit) {
this.loaded();
}
}, },
_assertTip: function () { _assertTip: function () {

10
dist/bundle.js vendored

@ -26218,6 +26218,16 @@ BI.Pane = BI.inherit(BI.Widget, {
_init: function () { _init: function () {
BI.Pane.superclass._init.apply(this, arguments); BI.Pane.superclass._init.apply(this, arguments);
if (this.beforeInit) {
this.loading();
}
},
_render: function () {
BI.Pane.superclass._render.apply(this, arguments);
if (this.beforeInit) {
this.loaded();
}
}, },
_assertTip: function () { _assertTip: function () {

10
dist/fineui.js vendored

@ -27972,6 +27972,16 @@ BI.Pane = BI.inherit(BI.Widget, {
_init: function () { _init: function () {
BI.Pane.superclass._init.apply(this, arguments); BI.Pane.superclass._init.apply(this, arguments);
if (this.beforeInit) {
this.loading();
}
},
_render: function () {
BI.Pane.superclass._render.apply(this, arguments);
if (this.beforeInit) {
this.loaded();
}
}, },
_assertTip: function () { _assertTip: function () {

10
src/base/pane.js

@ -19,6 +19,16 @@ BI.Pane = BI.inherit(BI.Widget, {
_init: function () { _init: function () {
BI.Pane.superclass._init.apply(this, arguments); BI.Pane.superclass._init.apply(this, arguments);
if (this.beforeInit) {
this.loading();
}
},
_render: function () {
BI.Pane.superclass._render.apply(this, arguments);
if (this.beforeInit) {
this.loaded();
}
}, },
_assertTip: function () { _assertTip: function () {

Loading…
Cancel
Save