MCPcopy
hub / github.com/winjs/winjs / hasClass

Method hasClass

typings/winjs/winjs-3.0.d.ts:8308–8308  ·  view source on GitHub ↗

* Determines whether the specified class exists on the first element of the collection. * @param name The name of the class. * @returns true if the element has the specified class; otherwise, false.

(name: string)

Source from the content-addressed store, hash-verified

8306 * @returns true if the element has the specified class; otherwise, false.
8307 **/
8308 hasClass(name: string): boolean;
8309
8310 /**
8311 * Looks up an element by ID and wraps the result in a QueryCollection.

Callers 15

_xyFocusFunction · 0.65
_isFocusableFunction · 0.65
_isToggleModeFunction · 0.65
_getStateHandlerFunction · 0.65
SettingsFlyout.jsFile · 0.65
ItemContainer.jsFile · 0.65
_LegacyAppBar.jsFile · 0.65
Menu.jsFile · 0.65
ListView.jsFile · 0.65

Calls

no outgoing calls

Tested by 2

testMethod · 0.52
testFunction · 0.52