|
|
|
Demo.Func = BI.inherit(BI.Widget, {
|
|
|
|
props: {
|
|
|
|
baseCls: "demo-func"
|
|
|
|
},
|
|
|
|
|
|
|
|
render: function () {
|
|
|
|
return {
|
|
|
|
type: "bi.vertical",
|
|
|
|
items: BI.createItems([{
|
|
|
|
text: "bi-list-item",
|
|
|
|
cls: "bi-list-item close-font"
|
|
|
|
}, {
|
|
|
|
text: "bi-list-item-simple",
|
|
|
|
cls: "bi-list-item-simple close-font"
|
|
|
|
}, {
|
|
|
|
text: "bi-list-item-effect",
|
|
|
|
cls: "bi-list-item-effect close-font"
|
|
|
|
}, {
|
|
|
|
text: "bi-list-item-active",
|
|
|
|
cls: "bi-list-item-active close-font"
|
|
|
|
}, {
|
|
|
|
text: "bi-list-item-active2",
|
|
|
|
cls: "bi-list-item-active2 close-font"
|
|
|
|
}, {
|
|
|
|
text: "bi-list-item-select",
|
|
|
|
cls: "bi-list-item-select close-font"
|
|
|
|
}, {
|
|
|
|
text: "bi-list-item-select2",
|
|
|
|
cls: "bi-list-item-select2 close-font"
|
|
|
|
}], {
|
|
|
|
type: "bi.icon_text_item",
|
|
|
|
logic: {
|
|
|
|
dynamic: true
|
|
|
|
}
|
|
|
|
}),
|
|
|
|
vgap: 10
|
|
|
|
};
|
|
|
|
}
|
|
|
|
});
|
|
|
|
BI.shortcut("demo.click_item_effect", Demo.Func);
|