RequestSelectionBoundsCallback Function
Description
Callback function for methods requesting the start position and length of the current selection.
Syntax
function(<SelectionBounds> bounds, <ErrorArgument> err)Examples
The following example demonstrates RequestSelectionBoundsCallback in a practical document-editing workflow. Callback function for methods requesting the start position and length of the current selection.
function requestSelectionBoundsCallback(bounds, err) {
console.log("Callback values:", { bounds, err });
}