JavaScript

A5.ControlBarAnimation Object

IN THIS PAGE

Description

Definition of a redraw animation in the control bar.

Properties

typestring

The type of animation to do. There are three basic types. The "slide" type will slide the old control bar HTML out while the new HTML slides in. The "swap" type will slide the old HTML out before sliding the new HTML in from the same edge. The "fade" type will cross fade the new and old HTML. The "slide" and "swap" types are suffixed with either a specific edge "left", "right", "top" or "bottom", or with relative values based off the control bar edge "in", "out", "before" or "after". Values can be "slide-left", "slide-right", "slide-top", "slide-bottom", "slide-in", "slide-out", "slide-before", "slide-after", "swap-left", "swap-right", "swap-top", "swap-bottom", "swap-in", "swap-out", "swap-before", "swap-after" or "fade".

durationnumber

The duration in milliseconds that the animation should take.

tweenstring

The CSS timing function to use for the animation. The default is "ease-in-out".