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

Re : I'm confused what can.Components are meant for

$
0
0
Component's replace can.Control except for high-performance widgets like a grid.  But a Component has a Control within it (the events object) so you can even create a high-performance Grid with a component, you just would not be using any of its features).


You could do something like:


$("notifications:first").scope().addItem("message")

Viewing all articles
Browse latest Browse all 3491

Trending Articles