Browse Source

BI-33958 text生命周期

master
imp 6 years ago
parent
commit
66ee4249ea
  1. 8
      dist/base.js
  2. 8
      dist/bundle.ie.js
  3. 4
      dist/bundle.ie.min.js
  4. 8
      dist/bundle.js
  5. 16
      dist/bundle.min.js
  6. 25
      dist/demo.js
  7. 8
      dist/fineui.ie.js
  8. 4
      dist/fineui.ie.min.js
  9. 8
      dist/fineui.js
  10. 16
      dist/fineui.min.js
  11. 8
      dist/fineui_without_jquery_polyfill.js
  12. 2
      dist/utils.min.js
  13. 3
      src/base/single/text.js

8
dist/base.js vendored

@ -535,8 +535,7 @@ BI.Text = BI.inherit(BI.Single, {
});
},
_init: function () {
BI.Text.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
if (o.hgap + o.lgap > 0) {
this.element.css({
@ -584,6 +583,11 @@ BI.Text = BI.inherit(BI.Single, {
} else {
this.text = this;
}
},
mounted: function () {
var o = this.options;
if (BI.isKey(o.text)) {
this.setText(o.text);
} else if (BI.isKey(o.value)) {

8
dist/bundle.ie.js vendored

@ -35431,8 +35431,7 @@ BI.Text = BI.inherit(BI.Single, {
});
},
_init: function () {
BI.Text.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
if (o.hgap + o.lgap > 0) {
this.element.css({
@ -35480,6 +35479,11 @@ BI.Text = BI.inherit(BI.Single, {
} else {
this.text = this;
}
},
mounted: function () {
var o = this.options;
if (BI.isKey(o.text)) {
this.setText(o.text);
} else if (BI.isKey(o.value)) {

4
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/bundle.js vendored

@ -35970,8 +35970,7 @@ BI.Text = BI.inherit(BI.Single, {
});
},
_init: function () {
BI.Text.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
if (o.hgap + o.lgap > 0) {
this.element.css({
@ -36019,6 +36018,11 @@ BI.Text = BI.inherit(BI.Single, {
} else {
this.text = this;
}
},
mounted: function () {
var o = this.options;
if (BI.isKey(o.text)) {
this.setText(o.text);
} else if (BI.isKey(o.value)) {

16
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

25
dist/demo.js vendored

@ -6041,30 +6041,7 @@ Demo.HtapeLayout = BI.inherit(BI.Widget, {
};
}
});
BI.shortcut("demo.htape", Demo.HtapeLayout);Demo.InlineVerticalLayout = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-absolute"
},
render: function () {
return {
type: "bi.inline_vertical_adapt",
items: [{
type: "bi.label",
text: "绝对布局",
cls: "layout-bg1",
width: 300,
height: 200
}, {
type: "bi.label",
text: "绝对布局",
cls: "layout-bg1",
width: 300,
height: 100
}]
};
}
});
BI.shortcut("demo.inline_vertical", Demo.InlineVerticalLayout);/**
BI.shortcut("demo.htape", Demo.HtapeLayout);/**
* Created by User on 2017/3/22.
*/
Demo.LeftRightVerticalAdaptLayout = BI.inherit(BI.Widget, {

8
dist/fineui.ie.js vendored

@ -35673,8 +35673,7 @@ BI.Text = BI.inherit(BI.Single, {
});
},
_init: function () {
BI.Text.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
if (o.hgap + o.lgap > 0) {
this.element.css({
@ -35722,6 +35721,11 @@ BI.Text = BI.inherit(BI.Single, {
} else {
this.text = this;
}
},
mounted: function () {
var o = this.options;
if (BI.isKey(o.text)) {
this.setText(o.text);
} else if (BI.isKey(o.value)) {

4
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/fineui.js vendored

@ -36212,8 +36212,7 @@ BI.Text = BI.inherit(BI.Single, {
});
},
_init: function () {
BI.Text.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
if (o.hgap + o.lgap > 0) {
this.element.css({
@ -36261,6 +36260,11 @@ BI.Text = BI.inherit(BI.Single, {
} else {
this.text = this;
}
},
mounted: function () {
var o = this.options;
if (BI.isKey(o.text)) {
this.setText(o.text);
} else if (BI.isKey(o.value)) {

16
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/fineui_without_jquery_polyfill.js vendored

@ -24780,8 +24780,7 @@ BI.Text = BI.inherit(BI.Single, {
});
},
_init: function () {
BI.Text.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
if (o.hgap + o.lgap > 0) {
this.element.css({
@ -24829,6 +24828,11 @@ BI.Text = BI.inherit(BI.Single, {
} else {
this.text = this;
}
},
mounted: function () {
var o = this.options;
if (BI.isKey(o.text)) {
this.setText(o.text);
} else if (BI.isKey(o.value)) {

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

3
src/base/single/text.js

@ -23,8 +23,7 @@ BI.Text = BI.inherit(BI.Single, {
});
},
_init: function () {
BI.Text.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
if (o.hgap + o.lgap > 0) {
this.element.css({

Loading…
Cancel
Save