Can I bind form inputs to models in Backbone.js without manually tracking blur events?

后端 未结 6 1489
抹茶落季
抹茶落季 2021-01-29 18:32

I have a backbone.js app (www.github.com/juggy/job-board) where I want to bind my form inputs directly to my model (a la Sproutcore).

Is it possible with Backbone.js (or

6条回答
  •  长情又很酷
    2021-01-29 18:40

    Have you tried Backbone.ModelBinder? It´s a nice tool to do what you need: https://github.com/theironcook/Backbone.ModelBinder

提交回复
热议问题