CodeMirrorAdapterEx.addClass method
CodeMirrorAdapterEx › addClass
Unofficial
Add a CSS class to an HTML element.Signature:
addClass(element: HTMLElement, className: string): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| element | HTMLElement | The HTML element to add the class to. |
| className | string | The CSS class name to add. |
Returns: void