QueryCollection.addClass method

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 WinJS version |
WinJS 1.0 |
|---|---|
|
Namespace |
WinJS.Utilities |
See also
Show: