Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |