EventInfo (utils)
@ckeditor/ckeditor5-utils/src/eventinfo
The event object passed to event callbacks. It is used to provide information about the event as well as a tool to manipulate it.
Filtering
Properties
-
name : String
readonly
The event name.
-
path : Array.<Object>
readonly
Path this event has followed. See
delegate
. -
The value which will be returned by
fire
.It's
undefined
by default and can be changed by an event listener: -
source : Object
readonly
The object that fired the event.
Methods
-
constructor( source, name )
Parameters
source : Object
The emitter.
name : String
The event name.
-
off()
Removes the current callback from future interactions of this event.
-
stop()
Stops the event emitter to call further callbacks for this event interaction.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.