IAnimator

Module: TSUI.Animation
Extends: None
Exported: Yes

Associated source files:

Description

Defines an animator. Animates a control to show/hide it or other animations.

Public Methods

Hide(control: TSUI.UI.IControl, callback?: () => void): void
Hides the control and invokes the callback (context not restored) after the animation is completed.
  • control: TSUI.UI.IControl - The control to animate.
  • OPTIONAL callback: () => void - The callback to invoke after animation has completed.
  • Returns: void -
Show(control: TSUI.UI.IControl, callback?: () => void): void
Shows the control and invokes the callback (context not restored) after the animation is completed.
  • control: TSUI.UI.IControl - The control to animate.
  • OPTIONAL callback: () => void - The callback to invoke after animation has completed.
  • Returns: void -


Last edited Aug 24, 2013 at 6:09 PM by EdwardNutting, version 4

Comments

No comments yet.