Share this page
MouseEvent
new MouseEvent(type, argsopt)
The HTML mouse event to be used with the FireEvent method.
Parameters:
Name | Type | Attributes | Description |
---|
type | string | | The event name. |
args | Object |
<optional>
| Arguments for the MouseEvent.
PropertiesName | Type | Attributes | Default | Description |
---|
button | MouseButton |
<optional>
|
MouseButton.left
| The mouse button to use for the event. | anchor | Position |
<optional>
|
Position.center
| The position within the object from which the offset is taken. | offset | Object |
<optional>
| | The offset from the anchor position.
PropertiesName | Type | Attributes | Default | Description |
---|
x | number |
<optional>
|
0
| The x-coordinate of the offset. | y | number |
<optional>
|
0
| The y-coordinate of the offset. |
|
|
Tips to improve your search results...
UFT Developer JavaScript SDK ReferenceVersion: 2021-2023UFT Developer SDK ReferenceAllView Local Help CenterView Online Help CenterbackGo back in browser historyforwardGo forward in browser historyRemove search highlightsnext topicGo to next topicprevious topicGo to previous topicPrint the current topicVersion: