HotDrink / hotdrink

JavaScript MVVM library with support for multi-way dependencies and generic, rich UI behaviors.
http://hotdrink.github.io/hotdrink/
58 stars 9 forks source link

Click-to-edit textbox binder #6

Open thejohnfreeman opened 12 years ago

thejohnfreeman commented 12 years ago

We should have a binder that swaps an element wrapping a text node with a text <input> element on click, and back on enter or blur. Both elements should be bound to a string variable.

thejohnfreeman commented 12 years ago

This should be possible with some combination of the text and btb binders.