Backbone Stickit is a model-view binding plugin for backbone.
About
Stickit binds backbone-model attributes to DOM-elements of backbone-views and vice versa. That means it enables two-way Model-View-Binding. It listens to backbone-events to
- Update the model whenever a binded DOM-element changes (e.g. the value of an
input
changes due to user interaction). - Update DOM-elements belonging to a view whenever a binded model attribute changes (e.g. due to a new call to
model.fetch()
or becausemodel.set('someAttribute', someValue
) is called directly).
Resources