MouseEvent

Web. MouseEvent

new MouseEvent(type, args[opt])

The HTML mouse event to be used with the FireEvent method.
Parameters:
NameTypeAttributesDescription
typestringThe event name.
argsObject <optional>
Arguments for the MouseEvent.
Properties
NameTypeAttributesDefaultDescription
buttonMouseButton <optional>
MouseButton.left The mouse button to use for the event.
anchorPosition <optional>
Position.center The position within the object from which the offset is taken.
offsetObject <optional>
The offset from the anchor position.
Properties
NameTypeAttributesDefaultDescription
xnumber <optional>
0 The x-coordinate of the offset.
ynumber <optional>
0 The y-coordinate of the offset.