Typedef

ViewDocumentSelectionChangeEvent (engine/view/observer)

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

typedefobject

Fired when a selection has changed. This event is fired only when the selection change was the only change that happened in the document, and the old selection is different then the new selection.

Introduced by SelectionObserver.

Note that because SelectionObserver is attached by the View this event is available by default.

Filtering

Properties

  • args : tuple

  • name : 'selectionChange'

Fired by