Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

model.List events for updated item?

$
0
0
Using the ToDo sample, I added template binding for {todos} add|remove which fire as expected. However, I also want to tie into an event any time an item in the list is updated/saved.  I guessed at a few event names, I see changed is fired for each attribute when it is changed, but I'd like to get an event when the list member has saved.

https://jsfiddle.net/digger69/udLxxcxr/

I believe I could bind to "{Todo} updated"  but in my use case I don't want to know any time any model of that type is updated, rather only when a member of the list has been updated.

Viewing all articles
Browse latest Browse all 3491

Trending Articles