Is there a way to introduce two-way bindings in a Meteor application, without adding AngularJS? I would like to have a functionality in my input elements (text field, drop down, checkbox, etc...) where a changed value is saved back to the database automatically in response to a blur, item changed, or other such events. I understand, that Angular has nothing to do with auto-saving, but, having a two-way bindings in Meteor would bring it one step closer to my "ideal" scenario.

有帮助吗?

解决方案

Try the autoform package. If that does too much for your needs, the simple way is detailed here on this SO answer: Is it possible to do 2 way data-binding on meteor

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top