我一直在經歷的骨幹JS官方文檔,但我似乎無法找到這個答案,下面是從他們的網站骨幹JS事件結合
var DocumentRow = Backbone.View.extend({
tagName: "li",
className: "document-row",
events: {
"click .icon": "open",
"click .button.edit": "openEditDialog",
"click .button.delete": "destroy",
"click .list1 .item1" : "open",
},
render: function() {
...
}
});
片斷什麼,我不理解是事件:部分 所以它是什麼意思?
有人可以解釋以下純英文或指出其中DOC我能找到
"click .icon": "open",
"click .button.edit": "openEditDialog",
"click .button.delete": "destroy",
"click .list1 .item1" : "open",
?
感謝