Yellow code is jQuery plugin for 2-way data binding.
- You don’t have to manipulate the DOM.
- You only manipulate a model – a plain JavaScript object.
- Changes in the model are propagated to the view – defined as an HTML template.
- Changes in the view input elements are propagated back to the model.
- Dynamic view attributes: text, input value, CSS and much more.
- View can also contain loops and conditional elements.
No comments:
Post a Comment