Browse Source

BI-6615 specific

es6
刘荣歆 7 years ago
parent
commit
dfe8be9b4d
  1. 40
      demo/js/config/widget.js
  2. 1
      demo/js/widget/basewidget/demo.tips.js
  3. 41
      docs/demo.js

40
demo/js/config/widget.js

@ -2,6 +2,34 @@ Demo.WIDGET_CONFIG = [{
id: 4,
text: "详细控件",
open: true
}, {
pId: 4,
id: 420,
text: '各种小控件',
}, {
pId: 420,
text: "各种通用按钮",
value: "demo.buttons"
}, {
pId: 420,
text: "各种提示性信息",
value: "demo.tips"
}, {
pId: 420,
text: "各种items",
value: "demo.items"
}, {
pId: 420,
text: "各种节点node",
value: "demo.nodes"
}, {
pId: 420,
text: "各种segment",
value: "demo.segments"
}, {
pId: 420,
text: "可以切换的树",
value: "demo.switch_tree"
}, {
id: 400,
pId: 4,
@ -10,6 +38,10 @@ Demo.WIDGET_CONFIG = [{
pId: 400,
text: "bi.multi_tree_combo",
value: "demo.multi_tree_combo"
}, {
pId: 400,
text: "bi.switch_tree",
value: "demo.switch_tree"
}, {
id: 401,
pId: 4,
@ -253,5 +285,13 @@ Demo.WIDGET_CONFIG = [{
pId: 418,
text: "bi.dialog",
value: "demo.dialog"
}, {
pId: 4,
id: 419,
text: "文件管理"
}, {
pId: 419,
text: "demo.file_manager",
value: "demo.file_manager"
}
];

1
demo/js/widget/basewidget/demo.tips.js

@ -49,6 +49,7 @@ Demo.Tips = BI.inherit(BI.Widget, {
type: 'bi.button',
text: '隐藏所有 bubble',
height: 30,
cls: "layout-bg2",
handler: function () {
BI.each(btns, function (index, value) {
BI.Bubbles.hide(value);

41
docs/demo.js

@ -3350,6 +3350,34 @@ Demo.COMPONENT_CONFIG = [{
id: 4,
text: "详细控件",
open: true
}, {
pId: 4,
id: 420,
text: '各种小控件',
}, {
pId: 420,
text: "各种通用按钮",
value: "demo.buttons"
}, {
pId: 420,
text: "各种提示性信息",
value: "demo.tips"
}, {
pId: 420,
text: "各种items",
value: "demo.items"
}, {
pId: 420,
text: "各种节点node",
value: "demo.nodes"
}, {
pId: 420,
text: "各种segment",
value: "demo.segments"
}, {
pId: 420,
text: "可以切换的树",
value: "demo.switch_tree"
}, {
id: 400,
pId: 4,
@ -3358,6 +3386,10 @@ Demo.COMPONENT_CONFIG = [{
pId: 400,
text: "bi.multi_tree_combo",
value: "demo.multi_tree_combo"
}, {
pId: 400,
text: "bi.switch_tree",
value: "demo.switch_tree"
}, {
id: 401,
pId: 4,
@ -3601,6 +3633,14 @@ Demo.COMPONENT_CONFIG = [{
pId: 418,
text: "bi.dialog",
value: "demo.dialog"
}, {
pId: 4,
id: 419,
text: "文件管理"
}, {
pId: 419,
text: "demo.file_manager",
value: "demo.file_manager"
}
];Demo.Func = BI.inherit(BI.Widget, {
props: {
@ -6707,6 +6747,7 @@ Demo.Tips = BI.inherit(BI.Widget, {
type: 'bi.button',
text: '隐藏所有 bubble',
height: 30,
cls: "layout-bg2",
handler: function () {
BI.each(btns, function (index, value) {
BI.Bubbles.hide(value);

Loading…
Cancel
Save