Template.disableOptimizedProcessing property

Applies to Windows and Windows Phone

This property is deprecated and might not be available in future versions of the Windows Library for JavaScript. Gets or sets a value that specifies whether optimized template processing has been disabled.

Syntax


<div 
    data-win-control="WinJS.Binding.Template" 
    data-win-options="{ disableOptimizedProcessing : value}" >
</div>


var disableOptimizedProcessing = template.disableOptimizedProcessing;
template.disableOptimizedProcessing = disableOptimizedProcessing;

Property value

Type:

true if optimized template processing is disabled; otherwise, false. The default value is false.

Remarks

A developer can set this property to true to restore Windows Library for JavaScript 1.0 template processing and data binding. We recommend against setting this property to true, as it can negatively impact template processing performance.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.Binding

Library

Base.js

See also

Template

 

 

Show:
© 2014 Microsoft