Browse Source

Pull request #1549: 无JIRA任务 feat: case 里面的node全都加上keyword属性

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '2ac9450dacccc9d65cb3847ea2aa3c6c520a9cb8':
  无JIRA任务 feat: case 里面的node全都加上keyword属性
es6
parent
commit
9c335cfe18
  1. 3
      src/case/button/node/node.arrow.js
  2. 3
      src/case/button/node/node.icon.arrow.js
  3. 3
      src/case/button/node/node.multilayer.icon.arrow.js
  4. 1
      src/case/button/treeitem/item.multilayer.icon.treeleaf.js
  5. 3
      src/case/button/treeitem/item.treetextleaf.js

3
src/case/button/node/node.arrow.js

@ -32,7 +32,8 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
hgap: o.hgap,
text: o.text,
value: o.value,
py: o.py
py: o.py,
keyword: o.keyword
});
this.checkbox.on(BI.Controller.EVENT_CHANGE, function (type) {

3
src/case/button/node/node.icon.arrow.js

@ -50,7 +50,8 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
hgap: o.hgap,
text: o.text,
value: o.value,
py: o.py
py: o.py,
keyword: o.keyword
});
this.checkbox.on(BI.Controller.EVENT_CHANGE, function (type) {
if (type === BI.Events.CLICK) {

3
src/case/button/node/node.multilayer.icon.arrow.js

@ -29,7 +29,8 @@ BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, {
hgap: o.hgap,
text: o.text,
value: o.value,
py: o.py
py: o.py,
keyword: o.keyword
});
this.node.on(BI.Controller.EVENT_CHANGE, function (type) {
self.setSelected(self.isSelected());

1
src/case/button/treeitem/item.multilayer.icon.treeleaf.js

@ -28,6 +28,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
text: o.text,
value: o.value,
py: o.py,
keyword: o.keyword,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});

3
src/case/button/treeitem/item.treetextleaf.js

@ -30,7 +30,8 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, {
rgap: o.hgap,
text: o.text,
value: o.value,
py: o.py
py: o.py,
keyword: o.keyword
});
BI.createWidget({
type: "bi.htape",

Loading…
Cancel
Save