can.view.Scanner
can.view.Scanner is used to convert a template into a JavaScript function. That function is called to produce a rendered result as a string. Often the rendered result will include data-view-id attributes on elements that will be processed after the template is used to create a document fragment.
new canjs.Scanner(Object)
can.view.Scanner is used to convert a template into a JavaScript function. That function is called to produce a rendered result as a string. Often the rendered result will include data-view-id attributes on elements that will be processed after the template is used to create a document fragment.
Parameters
-
{Object}