CodeMirrorModule.on method
CodeMirrorModule › on
Unofficial
Registers an event handler on the given target.Signature:
on(target: unknown, type: string, f: (...args: unknown[]) => void): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| target | unknown | The target object. |
| type | string | The event type. |
| f | (...args: unknown[]) => void | The event handler. |
Returns: void