WinJS.Utilities.addClass function
Adds the specified class to the specified element.
Syntax
var thmlElement = WinJS.Utilities.addClass(e, name);
Parameters
e
Type: HTMLElementThe element to which to add the class.
name
Type: stringThe name of the class to add.
Return value
Type: THMLElement
The element.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Utilities |