Skip to content

CodeMirrorEditor.signal method

CodeMirrorEditor › signal

Unofficial

Emit a signal/event on the editor.

Signature:

signal(event: string, args?: unknown[]): void

Parameters:

Parameter Type Description
event string The event name to emit.
args? unknown[] Additional arguments to pass to the event handlers.

Returns: void