Appearance
VM Code SDK v2 / ClickOptions
Type alias: ClickOptions
ClickOptions:
object&SelectOptionOptions
Type declaration
button?
optionalbutton:"left"|"right"|"middle"
Defaults to left.
clickCount?
optionalclickCount:number
defaults to 1. See [UIEvent.detail].
delay?
optionaldelay:number
Time to wait between mousedown and mouseup in milliseconds. Defaults to 0.
modifiers?
optionalmodifiers: ("Alt"|"Control"|"Meta"|"Shift")[]
Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current modifiers back. If not specified, currently pressed modifiers are used.
position?
optionalposition:object
A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element.
position.x
x:
number
position.y
y:
number