Skip to content

CodeMirrorAdapterEx.rmClass method

CodeMirrorAdapterEx › rmClass

Unofficial

Remove a CSS class from an HTML element.

Signature:

rmClass(element: HTMLElement, className: string): void

Parameters:

ParameterTypeDescription
elementHTMLElementThe HTML element to remove the class from.
classNamestringThe CSS class name to remove.

Returns: void