Renders an instance of this template bound to the data contained in item. If the recycled parameter is present, and enableRecycling is true, then the template attempts to reuse the DOM elements from the recycled parameter.
Syntax
template.renderItem(item, recycled);
Parameters
- item
-
Type: Object
The object that contains the data to bind to. Only item.data is required.
- recycled
-
Type: DOM Element
A previously-generated template instance.
Return value
This method does not return a value.
Requirements
|
Namespace |
WinJS.Binding |
|---|---|
|
Library |
|
See also
Build date: 12/5/2012