Skip to main content
Template.renderItem method

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

Base.js

See also

Template

 

 

Build date: 9/11/2013