Interface: TouchMouseEventData
The TouchMouseEventData interface represents events that occur due to the user interacting with a pointing device (such as a mouse). See MouseEvent
Properties
clientX
readonlyclientX:Coordinate
The X coordinate of the mouse pointer in local (DOM content) coordinates.
clientY
readonlyclientY:Coordinate
The Y coordinate of the mouse pointer in local (DOM content) coordinates.
pageX
readonlypageX:Coordinate
The X coordinate of the mouse pointer relative to the whole document.
pageY
readonlypageY:Coordinate
The Y coordinate of the mouse pointer relative to the whole document.
screenX
readonlyscreenX:Coordinate
The X coordinate of the mouse pointer in global (screen) coordinates.
screenY
readonlyscreenY:Coordinate
The Y coordinate of the mouse pointer in global (screen) coordinates.
localX
readonlylocalX:Coordinate
The X coordinate of the mouse pointer relative to the chart / price axis / time axis canvas element.
localY
readonlylocalY:Coordinate
The Y coordinate of the mouse pointer relative to the chart / price axis / time axis canvas element.
ctrlKey
readonlyctrlKey:boolean
Returns a boolean value that is true if the Ctrl key was active when the key event was generated.
altKey
readonlyaltKey:boolean
Returns a boolean value that is true if the Alt (Option or ⌥ on macOS) key was active when the key event was generated.
shiftKey
readonlyshiftKey:boolean
Returns a boolean value that is true if the Shift key was active when the key event was generated.
metaKey
readonlymetaKey:boolean
Returns a boolean value that is true if the Meta key (on Mac keyboards, the ⌘ Command key; on Windows keyboards, the Windows key (⊞)) was active when the key event was generated.