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

Re : Can js on load

$
0
0
Are you asking how we can tell when a view is loaded?

If so

can.view('mypath/myTemplate.mst',{
      variable : "xyz"
},function(html){

      //ready  to go
      scope.element.append(html)



})

Viewing all articles
Browse latest Browse all 3491

Trending Articles