Skip to main content
Template.element property

Applies to Windows and Windows Phone

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