Interface

CompositionEventData (engine/view/observer)

@ckeditor/ckeditor5-engine/src/view/observer/compositionobserver

interface

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

  • data : null | string

  • readonly inherited

    document : Document

    The instance of the document.

  • readonly inherited

    domEvent : CompositionEvent

    The DOM event.

  • readonly inherited

    domTarget : HTMLElement

    The DOM target.

  • readonly inherited

    target : Element

    The tree view element representing the target.

  • readonly inherited

    view : View

    Instance of the view controller.

Methods

  • inherited

    preventDefault() → void

    Prevents the native's event default action.

    Returns

    void
  • inherited

    stopPropagation() → void

    Stops native event propagation.

    Returns

    void