Closure Library API Documentation
Go to class or file:
ui.SliderBase.AnimationFactory
The factory for creating additional animations to be played when animating to a new value.
Useful links
Source Code
Git
Inheritance
goog.ui.SliderBase.AnimationFactory
Constructor
goog.ui.SliderBase.AnimationFactory(
)
Instance Methods
Public
Protected
Private
Defined in
goog.ui.SliderBase.AnimationFactory
createAnimations
(
previousValue
,
newValue
,
interval
)
⇒
!
Array
.<
!
goog.fx.TransitionBase
>
Creates an additonal animation to play when animating to a new value.
Arguments:
previousValue
:
number
The previous value (before animation).
newValue
:
number
The new value (after animation).
interval
:
number
The animation interval.
Returns:
!
Array
.<
!
goog.fx.TransitionBase
> The additional animations to play.
code »
Package ui.SliderBase
Package Reference