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.
37 lines
797 B
37 lines
797 B
!(function () { |
|
|
|
var Body = BI.inherit(BI.Widget, { |
|
|
|
props: { |
|
baseCls: "dec-frame-body" |
|
}, |
|
|
|
_store: function () { |
|
return BI.Models.getModel("dec.model.masonry"); |
|
}, |
|
|
|
watch: {}, |
|
|
|
beforeInit: function (cb) { |
|
this.store.initEntryList(cb); |
|
}, |
|
|
|
render: function () { |
|
var self = this; |
|
|
|
return { |
|
type: "bi.button_group", |
|
layouts: [ |
|
{ |
|
type: "bi.absolute" |
|
} |
|
], |
|
chooseType: BI.Selection.Single, |
|
scrolly: true, |
|
items: this.store.formatItems() |
|
}; |
|
} |
|
}); |
|
|
|
BI.shortcut("dec.masonry", Body); |
|
}()); |