MCPcopy Create free account
hub / github.com/reactjs/react-modal / remove

Function remove

src/helpers/classList.js:128–133  ·  view source on GitHub ↗
(element, classString)

Source from the content-addressed store, hash-verified

126 * with ' ' as separator.
127 */
128export const remove = (element, classString) =>
129 untrackClass(
130 element.classList,
131 element.nodeName.toLowerCase() == "html" ? htmlClassList : docBodyClassList,
132 classString.split(" ")
133 );

Callers

nothing calls this directly

Calls 1

untrackClassFunction · 0.85

Tested by

no test coverage detected