MyView = Backbone.View.extend({
events: {
'click .item': 'handleClick'
}, handleClick: function(e) {
this; // The view instance
e.target; // The element that was clicked
e.currentTarget; // The element that was bound by the click event
}
});
相关文章
- 01-09(三)backbone - API学习 - v0.9.2 与 v1.1.2区别
- 01-09Backbone - Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- 01-09CVPR 2021 | 全新Backbone!ReXNet:助力CV任务全面涨点
- 01-09FastFCN: Rethinking Dilated Convolution in the Backbone for Semantic Segmentation
- 01-09CSPNET: A NEW BACKBONE THAT CAN ENHANCE LEARNING CAPABILITY OF CNN
- 01-09腾讯优图:开源YOLO系列代码(含YOLOv3以及各种backbone)
- 01-09(三)backbone - API源码 - v0.9.2 与 v1.1.2区别
- 01-09Backbone简介
- 01-09backbone的对象继承实现
- 01-09backbone学习笔记(一)