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.
40 lines
1.2 KiB
40 lines
1.2 KiB
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); |