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

Re : Passing a callback to a component - possible?

$
0
0
@asavoy thanks for your reply

There is one thing that bothers me though, in your example the sub component 'x-list' calls a function on the parent component 'x-chooser' directly, I think this should be avoided - because tight coupling. I will like to pass the function explicitly.

Viewing all articles
Browse latest Browse all 3491

Trending Articles