id function

WinJS.Utilities.id function

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

Applies to: Metro style apps only

Returns a collection with zero or one elements matching the specified id.

Syntax

var queryCollection = WinJS.Utilities.id(id);

Parameters

id

Type: string

The ID of the element (or elements).

Return value

Type: Object

A collection of elements whose id matches the id parameter.

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:
© 2017 Microsoft