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

Re : When using a Component, when do I choose between the init method of the component or the init method of the events object?

$
0
0
I think I get it now.

In a normal CanJS Control, Init would be the place to insert the html from can.view, therefore, in the Init method from an Event object inside of a Component, the html is not rendered yet. 

Viewing all articles
Browse latest Browse all 3491

Trending Articles