Animator

Module: TSUI.Animation
Extends: None
Implements: IAnimator
Exported: Yes

Associated source files:

Description

Basic implementation of an IAnimator.

Public Methods

Hide(control: TSUI.UI.IControl, callback?: () => void): void
Sets the value of 'visibility' to 'hidden' and clears the value of 'display' - does not set 'display:none'.This implementation does a basic hide of a control.
  • control: TSUI.UI.IControl - The control to hide.
  • OPTIONAL callback: () => void - The function to call when hiding is complete.
  • Returns: void -
Show(control: TSUI.UI.IControl, callback?: () => void): void
Clears the values of 'visibility' and 'display' - does not force them to 'visible'.This implementation restores the control to its stylesheet state of visibility.
  • control: TSUI.UI.IControl - The control to show.
  • OPTIONAL callback: () => void - The function to call when showing is complete.
  • Returns: void -


Last edited Aug 24, 2013 at 6:10 PM by EdwardNutting, version 5

Comments

No comments yet.