blockly > utils > dom > removeClasses

utils.dom.removeClasses() function

Removes multiple classes from an element.

Signature:

export declare function removeClasses(element: Element, classNames: string): void;

Parameters

Parameter Type Description
element Element DOM element to remove classes from.
classNames string A string of one or multiple class names for an element.

Returns:

void