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.
Determines whether the specified element has the specified class.
Syntax
var boolean = WinJS.Utilities.hasClass(e, name);
Parameters
e
Type: DOMElementThe element.
name
Type: stringThe name of the class.
Return value
Type: Boolean
true if the element has the class, otherwise false.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Utilities |