Class BTM.Effect.Animation [Experimental]
Animation Class
Defined in: effect.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
BTM.Effect.Animation(element, style, options)
[Experimental]
|
Class Detail
BTM.Effect.Animation(element, style, options)
[Experimental]
- Parameters:
- {String|HTMLElement} element
- element ID or reference to element to be animated
- {Object} style
- the style the Element should finish with at the end of the animation
- {Object} options Optional
- the options object
- {Nubber} options.timer Optional, Default: 5
- the duration in seconds for the animation