QueryCollection.setAttribute method
Sets an attribute value on all the items in the collection.
Syntax
var queryCollection = queryCollection.setAttribute(name, value);
Parameters
name
Type: stringThe name of the attribute to be set.
value
Type: objectThe value of the attribute to be set.
Return value
Type: QueryCollection
This QueryCollection object.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Utilities |