Windows Dev Center

EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

QueryCollection.addClass method

Applies to Windows and Windows Phone

Adds the specified class to all the elements in the collection.

Syntax


var queryCollection = queryCollection.addClass(name);

Parameters

name

Type: string

The name of the class to add.

Return value

Type: QueryCollection

This QueryCollection object.

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

WinJS.Utilities

Library

Winjs.js

See also

QueryCollection

 

 

Anzeigen:
© 2015 Microsoft