MCPcopy
hub / github.com/winjs/winjs / toggleClass

Method toggleClass

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

* Toggles (adds or removes) the specified class on all the elements in the collection. If the class is present, it is removed; if it is absent, it is added. * @param name The name of the class to be toggled. * @returns This QueryCollection object.

(name: string)

Source from the content-addressed store, hash-verified

8394 * @returns This QueryCollection object.
8395 **/
8396 toggleClass(name: string): QueryCollection<T>;
8397
8398 //#endregion Methods
8399

Callers 4

testToggleMethod · 0.65
testLongToggleMethod · 0.65
testQueryMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected