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

Re : Passing a callback to a component - possible?

$
0
0
Thanks @alex, that is so close.

Still I am looking for something slight different. That example passes the context directly to the callback, which sometimes if ok, but many other times you one some transformation before reaching the callback.


I guess I will need to stick to triggering DOM events from now as my main pattern for communication between components. 

Viewing all articles
Browse latest Browse all 3491

Trending Articles