You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adam Krebs edited this page Oct 14, 2013
·
1 revision
Stickit
Pass your object in as the second argument to this.stickit or set as this.model of the view.
You will need to alias Backbone.Attributes' getAttribute/setAttribute as get/set for parity with Model, and you must implement or borrow an escape method if you request escaped bindings (or alternatively make a good case to include in Backbone.Attributes).
If you have multiple stickit views, the object needs a unique cid property, which you can generate yourself.