NotificationRestackAnimator

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

Associated source files:

Description

Animator for animating restack of notifications.
Note: Show/Hide are empty methods.

Private Static Properties

AnimationEasing: string;
The jQuery animation easing to use
Default: easeInCubic
AnimationTime: number;
The length of time (milliseconds) to spend restacking.
Default: 1000ms


Public Methods

AnimateRestack(control: TSUI.UI.IControl, newBottom: number, callback?: () => void): void
Animates the control to slide it up/down to new bottom (i.e. animates restack).
  • control: TSUI.UI.IControl - The control to animate.
  • newBottom: number - The new CSS 'bottom' value.
  • OPTIONAL callback: () => void - The callback to invoke after animation has completed.
  • Returns: void -
Hide(control: TSUI.UI.IControl, callback?: () => void): void
This method is empty.
  • control: TSUI.UI.IControl -
  • OPTIONAL callback: () => void -
  • Returns: void -
Show(control: TSUI.UI.IControl, callback?: () => void): void
This method is empty.
  • control: TSUI.UI.IControl -
  • OPTIONAL callback: () => void -
  • Returns: void -


Last edited Aug 24, 2013 at 6:12 PM by EdwardNutting, version 7

Comments

No comments yet.