DomEventData (engine/view/observer)
@ckeditor/ckeditor5-engine/src/view/observer/domeventdata
class
Information about a DOM event in context of the Document
.
It wraps the native event, which usually should not be used as the wrapper contains
additional data (like key code for keyboard events).
Filtering
Properties
-
The tree view element representing the target.
Methods
-
constructor( view, domEvent, [ additionalData ] )
Parameters
view : View
The instance of the view controller.
domEvent : Event
The DOM event.
[ additionalData ] : Object
Additional properties that the instance should contain.
-
Prevents the native's event default action.
-
Stops native event propagation.
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.