Windows Dev Center

WinJS.Utilities.data function

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

Gets the data value associated with the specified element.

Syntax

var object = WinJS.Utilities.data(element);

Parameters

element

Type: DOMElement

The element.

Return value

Type: Object

The value associated with the element.

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.Utilities

Library

Base.js

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2015 Microsoft