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

Re : EJS and @@!!@@

$
0
0
Not entirely. The Fiddle includes the view modifier plugin which overrides the jQuery modifiers like .html, .append etc so you could do this:

  1. this.element.html('filterView', {});
On the other hand
  1. can.view('filterView')
Will return a renderer function that you can call with the data to render a a later time. I you want to render it right away (and return the rendered document fragment) in either case have to pass an empty object:
  1. can.view('filterView', {})

Viewing all articles
Browse latest Browse all 3491

Trending Articles