data-win-res attribute
Collapse the table of content
Expand the table of content

data-win-res property

Applies to Windows and Windows Phone

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

 

 

Show:
© 2017 Microsoft