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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.Binding

Library

Base.js

See also

Template

 

 

Show:
© 2014 Microsoft