Home > @magiclane/maps-sdk > GemView > registerCursorSelectionUpdatedPathCallback

GemView.registerCursorSelectionUpdatedPathCallback() method

Register a callback for cursor selection path updates.

Signature:

registerCursorSelectionUpdatedPathCallback(cursorSelectionPathCallback: CursorSelectionCallback<any> | null): void;

Parameters

Parameter

Type

Description

cursorSelectionPathCallback

CursorSelectionCallback<any> | null

Callback invoked when the cursor selection path changes. Pass null to unregister.

Returns:

void