Share via


Template.element property

Gets the DOM element that is used as the template.

Syntax

var elem = template.element;

Property value

Type: DOMElement

The DOM element that is used as the template.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

Template