ISpriteEvents

Type interface

Inheritance

ISpriteEvents extends IEntityEvents.

ISpriteEvents is extended by IGraphicsEvents, IContainerEvents, IContainerEvents, IPictureEvents.

Properties

blur
#

Param { originalEvent: FocusEvent,
  target: Sprite,
  type: "blur",
  target: Target }

Invoked when element loses focus.

boundschanged
#

Param { type: "boundschanged",
  target: Target }

Invoked when element's bounds change due to any manipulation to it.

click
#

Param { type: "click",
  target: Target }

Invoked when element is clicked or tapped.

dataitemchanged
#

Param { newDataItem: DataItem | undefined,
  oldDataItem: DataItem | undefined,
  type: "dataitemchanged",
  target: Target }

Invoked when element's data item changes.

dblclick
#

Param { type: "dblclick",
  target: Target }

Invoked when element is doubleclicked or tapped twice quickly.

dragged
#

Param { type: "dragged",
  target: Target }

Invoked when element ois being dragged.

dragstart
#

Param { type: "dragstart",
  target: Target }

Invoked when element dragging starts.

dragstop
#

Param { type: "dragstop",
  target: Target }

Invoked when element dragging stops.

focus
#

Param { originalEvent: FocusEvent,
  target: Sprite,
  type: "focus",
  target: Target }

Invoked when element gains focus.

globalpointermove
#

Param { type: "globalpointermove",
  target: Target }

Invoked when pointer is moving anywhere in the window, even outside of the element or even chart area.

globalpointerup
#

Param { type: "globalpointerup",
  target: Target }

Invoked when pointer button is released or touch stops in the window, even outside of the element or even chart area.

middleclick
#

Param { type: "middleclick",
  target: Target }

Invoked when element is clicked with the middle mouse button.

pointerdown
#

Param { type: "pointerdown",
  target: Target }

Invoked when pointer button is pressed or touch starts over the element.

pointerout
#

Param { type: "pointerout",
  target: Target }

Invoked when pointer moves outside the element.

pointerover
#

Param { type: "pointerover",
  target: Target }

Invoked when pointer moves over the element.

pointerup
#

Param { type: "pointerup",
  target: Target }

Invoked when pointer button is released or touch stops over the element.

positionchanged
#

Param { type: "positionchanged",
  target: Target }

Invoked when element's position (X/Y) changes.

rightclick
#

Param { type: "rightclick",
  target: Target }

Invoked when element is clicked width the right mouse button.

wheel
#

Param { originalEvent: WheelEvent,
  point: IPoint,
  type: "wheel",
  target: Target }

Invoked when mouse wheel is spinned while pointer is over the element.