MCPcopy Index your code
hub / github.com/monkeytypegame/monkeytype / removeClass

Method removeClass

frontend/src/ts/utils/dom.ts:965–970  ·  view source on GitHub ↗

* Remove a class from all elements in the array

(className: string | string[])

Source from the content-addressed store, hash-verified

963 * Remove a class from all elements in the array
964 */
965 removeClass(className: string | string[]): this {
966 for (const item of this) {
967 item.removeClass(className);
968 }
969 return this;
970 }
971
972 /**
973 * Add a class to all elements in the array

Callers

nothing calls this directly

Calls 1

removeClassMethod · 0.45

Tested by

no test coverage detected