Saved Bookmarks
| 1. |
Explain When You Can Use Unbinding Function In Backbone.js? |
|
Answer» When you WANT to REMOVE the VALIDATION BINDING on the model or all models , removing all EVENTS hooked up on the collection, you can use Unbinding function. For example : Backbone.Validation.Unbind(view) [ This will remove the validation binding] When you want to remove the validation binding on the model or all models , removing all events hooked up on the collection, you can use Unbinding function. For example : Backbone.Validation.Unbind(view) [ This will remove the validation binding] |
|