|
Name
|
Type
|
Description
|
Required/Optional
|
|---|---|---|---|
|
params
|
Object
|
Object containing screen position.
|
Required
|
|
params.x
|
Number
|
Horizontal screen position in pixels.
|
Required
|
|
params.y
|
Number
|
Vertical screen position in pixels.
|
Required
|
|
successCallback
|
Function
|
Called when the operation completes successfully.
|
Optional
|
|
errorCallback
|
Function
|
Called when the operation fails.
|
Optional
|
|
|
The x and y coordinates are provided in screen space (pixels) and will be normalized relative to the current viewport size.
|