ISpriteEvents
Type interface
Sources
ISpriteEvents is an interface: it describes a shape of data and is not imported on its own.
Inheritance
ISpriteEvents extends IEntityEvents.
ISpriteEvents is extended by IContainerEvents, IGraphicsEvents, IPictureEvents.
Properties
blurType { originalEvent:
FocusEvent, target:Sprite}Invoked when element loses focus.
boundschangedType
objectThe element's bounds changed.
clickType
ISpritePointerEventThe element was clicked or tapped. A press and release more than 5 pixels apart is not a click.
dataitemchangedType { newDataItem:
DataItem|undefined, oldDataItem:DataItem|undefined}The element's data item changed.
dblclickType
ISpritePointerEventThe element was double-clicked or double-tapped. Also dispatched on its parents.
draggedType
ISpritePointerEventThe element moved while being dragged.
dragstartType
ISpritePointerEventDragging of the element started: the pointer moved more than 5 pixels after pressing on it.
dragstopType
ISpritePointerEventDragging of the element stopped.
focusType { originalEvent:
FocusEvent, target:Sprite}Invoked when element gains focus.
globalpointerdownType
ISpritePointerEventA pointer button was pressed, or a touch started, anywhere in the window, even outside the chart.
globalpointermoveType
ISpritePointerEventThe pointer moved anywhere in the window, even outside the chart.
globalpointerupType
ISpritePointerEventA pointer button was released, or a touch ended, anywhere in the window, even outside the chart.
middleclickType
ISpritePointerEventThe element was clicked with the middle mouse button.
pointerdownType
ISpritePointerEventA pointer button was pressed, or a touch started, over the element. Also dispatched on its parents.
pointeroutType
ISpritePointerEventThe pointer left the element.
pointeroverType
ISpritePointerEventThe pointer moved over the element.
pointerupType
ISpritePointerEventA pointer button was released, or a touch ended, over the element.
positionchangedType
objectThe element's position changed.
rightclickType
ISpritePointerEventThe element was clicked with the right mouse button.
wheelType { originalEvent:
WheelEvent, point:IPoint}The mouse wheel turned while the pointer was over the element. Also dispatched on its parents.