瀑布流目录
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.

21 lines
596 B

5 years ago
(function () {
var Store = BI.inherit(Fix.Model, {
state: function () {
return {};
},
context: ["masonry_selectedEntry"],
actions: {
handleItemSelect: function (v) {
this.model.masonry_selectedEntry = v;
var entry = BI.find(this.options.items, function (index, item) {
return item.id === v;
});
BI.Services.getService("dec.service.frame.tab_pane").addItem(entry);
}
}
});
BI.model("dec.model.masonry.block", Store);
}());