forked from fanruan/fineui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
521 B
24 lines
521 B
/** |
|
* Created by Dailer on 2017/7/13. |
|
*/ |
|
Demo.SwitchTree = BI.inherit(BI.Widget, { |
|
props: { |
|
baseCls: "" |
|
}, |
|
render: function () { |
|
|
|
var items = BI.deepClone(Demo.CONSTANTS.TREE); |
|
return { |
|
type: "bi.horizontal_auto", |
|
items: [{ |
|
type: "bi.switch_tree", |
|
items: items |
|
},{ |
|
type:"bi.button", |
|
text:"getValue" |
|
}] |
|
} |
|
} |
|
}) |
|
|
|
BI.shortcut("demo.switch_tree", Demo.SwitchTree); |