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

Re : can.view("only url") vs can.view.render("only url") - when no data object is passed to methods - is there any difference?

$
0
0
The can.view function returns a DocumentFragment, while can.view.render returns a html string.

I'm not sure if there are additional differences, but for us that's the main one: In our app we generally want the DocumentFragment.

Viewing all articles
Browse latest Browse all 3491

Trending Articles