Overview: JsRender to JsViews
<<
Index for JsViews and JsRender
Samples from jQuery Conference, Boston, October 2011
JsRender:
-
Render template from script block
-
Compile template object from string
-
Compile from string as named template
-
Data Arrays
-
Inputs
JsViews:
-
Data binding: JsViews
-
Compact linking syntax
-
Observable property changes
-
Observable collection changes
-
Two containers data-linked to the same array
JsRender:
-
Using {{for}} to render hierarchical data - inline nested template
-
Composing nested templates: {{for}} with external template
-
Using {{if}} and {{else}} to render conditional sections
JsViews:
-
Fully editable data
JsRender:
-
Using custom helper tags for computed parameters
JsRender and JsViews:
-
Converter and 'convert back' between data format and display format
JsRender:
-
Custom tags for rendering