Skip to content

CodeMirrorAdapterEx.on method

CodeMirrorAdapterEx › on

Unofficial

Add an event listener.

Signature:

on($event: string, listener: EventListenerOrEventListenerObject): void

Parameters:

ParameterTypeDescription
$eventstring
listenerEventListenerOrEventListenerObjectThe event listener to add.

Returns: void