Skip to content

CodeMirrorModule.off method

CodeMirrorModule › off

Unofficial

Removes an event handler from the given target.

Signature:

off(target: unknown, type: string, f: (...args: unknown[]) => void): void

Parameters:

ParameterTypeDescription
targetunknownThe target object.
typestringThe event type.
f(...args: unknown[]) => voidThe event handler to remove.

Returns: void