To learn more about using JavaScript in LeanFT, see Setting up and working with the JavaScript SDK.
For JavaScript code samples, see Code Samples - JavaScript.


Web. MouseEvent

new MouseEvent(type, argsopt)

The HTML mouse event to be used with the FireEvent method.
Name Type Attributes Description
type string The event name.
args Object <optional>
Arguments for the MouseEvent.
Name Type Attributes Default Description
button MouseButton <optional>
MouseButton.left The mouse button to use for the event.
anchor Position <optional> The position within the object from which the offset is taken.
offset Object <optional>
The offset from the anchor position.
Name Type Attributes Default Description
x Number <optional>
0 The x-coordinate of the offset.
y Number <optional>
0 The y-coordinate of the offset.