change每次更改模型的属性时都会触发该事件.此事件将触发模型本身以及模型所属的任何集合.
someCollection.bind("change", function(model, attributes){
// do something with the model, here
});
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1941 次 |
| 最近记录: |