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

Best practice for passing references to a can.Component instance

$
0
0
For example, a global "growl" style notifications widget. Would we use a global variable or pass a reference with something like $("some-other-component").scope().notifications = notificationsInstance?

Viewing all articles
Browse latest Browse all 3491

Trending Articles