data-win-res property

Binds a property of an element to a property of a resource, for localization and other purposes.

Important The data-win-res property is not supported within iframe elements.

Syntax

<p data-win-res="{textContent: 'String1'}"></p>

Property value

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

Library

Winjs.js