Skip to main content
Version: Version 5

Interface: TextSelectionPluginEventMap

Interface defining event types for changes in a document view.

Properties​

cursorPositionChanged​

cursorPositionChanged: (position) => void

Parameters​

position​

CursorPosition

Returns​

void


keyDown​

keyDown: (event) => void

Parameters​

event​

KeyboardEvent

Returns​

void


textSelectionChanged​

textSelectionChanged: (textSelectionData) => void

Parameters​

textSelectionData​

TextSelection

Returns​

void