IContainerEvents

Type interface

Defines events for the Container

Inheritance

IContainerEvents extends ISpriteEvents.

IContainerEvents is extended by ILabelEvents, ITooltipEvents, ISliceEvents, IPreloaderEvents, IComponentEvents, IBulletEvents, ILineSeriesSegmentEvents, IButtonEvents, IScrollbarEvents, ICursorEvents, IAxisRendererEvents, IAxisBreakEvents, IColumnEvents, Rectangle3DEvents, IFlowDiagramNodeEvents, IFlowDiagramLinkEvents, IClockHandEvents, IConeEvents, IFunnelSliceEvents, IHeatLegendEvents, IZoomControlEvents, ISmallMapEvents, IMapObjectEvents, IMapLineObjectEvents, IFreeDrawEvents, IResizeEvents.

Properties

beforedisposed
#

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

Inherited from ISpriteEvents

Invoked just before Sprite is disposed.

beforevalidated
#

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

Inherited from ISpriteEvents

Invoked before Sprite is validated.

@todo Description (check)

blur
#

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

Inherited from IInteractionObjectEvents

Invoked when focusable object loses focus, e.g. by clicking outside it or pressing TAB button to focus on the next focusable object.

childadded
#

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

Invoked when a child Sprite is added to Container.

childremoved
#

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

Invoked when a child Sprite is removed from

disabled
#

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

Inherited from ISpriteEvents

Invoked when sprite is disabled

doublehit
#

Param SpritePointEvent & SpriteMouseTouchEvent & { type: "doublehit",
  target: Target }

Inherited from ISpriteEvents

Invoked when Sprite is clicked or touched twice in rapid succession.

down
#

Param PointerEvent & MouseTouchEvent & { type: "down",
  target: Target }

Inherited from IInteractionObjectEvents

Invoked when the mouse button is pressed or touch starts.

drag
#

Param ShiftEvent & PointEvent & { type: "drag",
  target: Target }

Inherited from IInteractionObjectEvents

Invoked when draggable object is being dragged. (using mouse, touch or keyboard)

dragstart
#

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

Inherited from IInteractionObjectEvents

Invoked when draggable object dragging starts. This event is not invoked immediatelly after down, but only if there's a movement of the pointer.

dragstop
#

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

Inherited from IInteractionObjectEvents

Invoked when draggable object is released. This event will not fire if position of the object did not change.

enabled
#

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

Inherited from ISpriteEvents

Invoked when sprite is enabled

focus
#

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

Inherited from IInteractionObjectEvents

Invoked when focusable object gains focus, e.g. by using TAB button.

globalscalechanged
#

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

Inherited from ISpriteEvents

Invoked when the global scale changed, meaning that scale of Sprite or any of its ascendants changed.

hidden
#

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

Inherited from ISpriteEvents

Invoked when visible Sprite is hidden.

hit
#

Param SpritePointEvent & SpriteMouseTouchEvent & { type: "hit",
  target: Target }

Inherited from ISpriteEvents

Invoked when Sprite is clicked or touched.

hold
#

Param PointerEvent & MouseTouchEvent & { type: "hold",
  target: Target }

Inherited from IInteractionObjectEvents

Invoked when mouse or touch pointer is held down over object for some time.

inited
#

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

Inherited from ISpriteEvents

Invoked when Sprite is initialized.

input
#

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

Inherited from IInteractionObjectEvents

Invoked whenever information changes in the textual input elements, like <input>, <textarea>, etc.

keydown
#

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

Inherited from IInteractionObjectEvents

Invoked when the key is pressed on the keyboard.

keypress
#

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

Inherited from IInteractionObjectEvents

Invoked when the key generates a "press", e.g. pressing and holding a letter key will generate repeated "keypress" events.

keyup
#

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

Inherited from IInteractionObjectEvents

Invoked when the key is released on the keyboard.

maxsizechanged
#

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

Inherited from ISpriteEvents

Invoked when maximum available size of the Sprite changes, i.e. when the size of parent container changes.

out
#

Param MouseTouchEvent & PointerEvent & { type: "out",
  target: Target }

Inherited from IInteractionObjectEvents

Invoked when mouse cursor moves out of hoverable object or it is no longer touched.

over
#

Param MouseTouchEvent & PointerEvent & { type: "over",
  target: Target }

Inherited from IInteractionObjectEvents

Invoked when mouse cursor moves over hoverable object or it is touched.

positionchanged
#

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

Inherited from ISpriteEvents

Invoked when position of the Sprite changes.

propertychanged
#

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

Inherited from ISpriteEvents

Invoked when property of the Sprite changes.

ready
#

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

Inherited from ISpriteEvents

Invoked when Sprite is becomes ready, that is it has finished all calculations and building itself.

For Container object (and all those inheriting it, including charts) this event will fire when all children become ready.

resize
#

Param ScaleEvent & MouseTouchEvent & { type: "resize",
  target: Target }

Inherited from IInteractionObjectEvents

Invoked when resizable object is being resized either by mouse or touch pinch gesture.

rightclick
#

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

Inherited from IInteractionObjectEvents

Invoked when right mouse button is clicked on the object.

shown
#

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

Inherited from ISpriteEvents

Invoked when hidden Sprite is shown.

sizechanged
#

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

Inherited from ISpriteEvents

Invoked when size of the Sprite changes.

swipe
#

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

Inherited from IInteractionObjectEvents

Invoked when user performs "swiping" gesture (quick horizontal movement) on the object, either using mouse or touch.

swipeleft
#

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

Inherited from IInteractionObjectEvents

Invoked when user performs "swiping" gesture towards left.

swiperight
#

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

Inherited from IInteractionObjectEvents

Invoked when user performs "swiping" gesture towards right.

toggled
#

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

Inherited from ISpriteEvents

Invoked when togglable Sprite is being toggled on and off. (its isActive property is being changed)

track
#

Param SpritePointEvent & SpritePointerEvent & SpriteMouseTouchEvent & { type: "track",
  target: Target }

Inherited from ISpriteEvents

Invoked when pointer (mouse cursor or touch point) moves over trackable Sprite.

transformed
#

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

Inherited from ISpriteEvents

@todo Description

transitionended
#

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

Inherited from ISpriteEvents

Invoked when Sprite completes transition to a SpriteState.

up
#

Param PointerEvent & MouseTouchEvent & { type: "up",
  target: Target }

Inherited from IInteractionObjectEvents

Invoked when the mouse button is released or touch ends.

validated
#

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

Inherited from ISpriteEvents

Invoked when Sprite is validated. (on init or after update)

@todo Description (check)

visibilitychanged
#

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

Inherited from ISpriteEvents

Invoked when visibility of the Sprite changes. (from visible to hidden, and vice versa)

wheel
#

Param SpritePointEvent & SpriteShiftEvent & { type: "wheel",
  target: Target }

Inherited from ISpriteEvents

Invoked when user turns mouse wheel while over the Sprite.

wheeldown
#

Param SpritePointEvent & SpriteShiftEvent & { type: "wheeldown",
  target: Target }

Inherited from ISpriteEvents

Invoked when user turns mouse wheel downwards while over the Sprite.

wheelleft
#

Param SpritePointEvent & SpriteShiftEvent & { type: "wheelleft",
  target: Target }

Inherited from ISpriteEvents

Invoked when user turns mouse wheel leftwards while over the Sprite.

wheelright
#

Param SpritePointEvent & SpriteShiftEvent & { type: "wheelright",
  target: Target }

Inherited from ISpriteEvents

Invoked when user turns mouse wheel rightwards while over the Sprite.

wheelup
#

Param SpritePointEvent & SpriteShiftEvent & { type: "wheelup",
  target: Target }

Inherited from ISpriteEvents

Invoked when user turns mouse wheel upwards while over the Sprite.

zIndexChanged
#

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

Inherited from ISpriteEvents

Invoked when zIndex of a sprite is changed

There are 46 inherited items currently hidden from this list.