Skip to content

ISpritePointerEvent

Type interface

Event object of a pointer interaction.

Sources

ISpritePointerEvent is an interface: it describes a shape of data and is not imported on its own.

Properties

cancelled

Type undefined | false | trueSince 5.23.0

true on a pointerup or globalpointerup that ends a gesture without effect: the browser took it over (for example to scroll the page), or it was a swipe that touchGestures left to the page.

native

Type undefined | false | true

Whether event originated in chart's container or its children.

originalEvent

Type IPointerEvent

Original event object that caused the interaction, e.g. MouseEvent.

point

Type IPoint

The point of the event, relative to the root.

simulated

Type boolean

true if the event was generated by code rather than by user interaction.

target

Type Sprite

The element on which the event occurred.