NEWCKEditor AI on your premises: Hook your LLM and register MCP tools. Webinar coming soon!
Sign up (with export icon)

ViewDocumentObserverSelectionChangeEvent

Api-typedef icontypedef

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 EditingView this event is available by default.

Properties

  • args : tuple

  • name : 'selectionChange'

Value

object

Fired by