다음을 통해 공유


Template.disableOptimizedProcessing property

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 WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

Template