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:

Parameter Type Description
element HTMLElement The HTML element to remove the class from.
className string The CSS class name to remove.

Returns: void