evalTemplate Boolean(default: false)

If set to true, the view template will be treated as kendo template and evaluated against the provided model instance.


<div id="app"></div>
<script id="foo-template" type="text/x-kendo-template">
    <span>#: foo #</span>
 var foo = { foo: "foo" }
 var view = new kendo.View('foo-template', { model: foo, evalTemplate: true });
In this article
Not finding the help you need? Improve this article