Last Updated: February 25, 2016
·
2.531K
· wagenet

Two Way Binding to the DOM

I wrote a bit about how the {{bind}} and {{bindAttr}} helpers that you can use in your Handlebars templates. However, if you try to bind to a form input or other changing element, you'll notice that your changes don't get recognized. Let me explain to you why this doesn't work and what you can do about it.

Read on:http://www.emberist.com/2012/04/12/two-way-binding-to-the-dom.html

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.

Security insights from Cside