According to backbone.js doc for View:
There are several special options that, if passed, will be attached
directly to the view:model,collection,el,id,className,tagName
andattributes.
I understand the el,id & className are used for wrapping whatever’s in render(), but
How special are model and collection in a View object? Are they used by View methods at all?
Thank you.
No, View methods don’t use this options.
modelandcollectionwill just become properties of the View object.Quotting from source:
};