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.
25 lines
487 B
25 lines
487 B
7 years ago
|
/**
|
||
|
* Created by Dailer on 2017/7/25.
|
||
|
*/
|
||
|
|
||
|
Demo.Items = BI.inherit(BI.Widget, {
|
||
|
|
||
|
render: function () {
|
||
|
|
||
|
return {
|
||
|
type: "bi.vertical",
|
||
|
items: [{
|
||
|
type: "bi.label",
|
||
|
height: 30,
|
||
|
text: "单选item"
|
||
|
}, {
|
||
|
type: "bi.single_select_item",
|
||
|
text: "单选项"
|
||
|
}],
|
||
|
hgap: 300
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
BI.shortcut("demo.single_select_item", Demo.Items);
|