Animations
In the AtlasUIGlitz.js library, Atlas implements several animations, which are described in greater detail in Chapter 7.
Sys.UI.Animation (General Class)
Method |
Description |
---|---|
|
Returns the duration of the animation |
|
Sets the duration of the animation |
|
Returns the frames per second of the animation |
|
Sets the frames per second of the animation |
|
Whether the animation is currently active or not |
|
Whether the animation is currently playing or not |
|
Percentage how much of the animation has been completed |
|
Returns the target element of the animation |
|
Sets the target element of the animation |
|
Returns the value that is animated in the animation (abstract method) |
|
Gets executed when the animation starts |
|
Gets executed when the animation ends |
|
Gets executed with every step of the animation |
|
Starts/continues the animation |
|
Pauses the animation |
|
Stops the animation |
|
Sets the owner of the animation |
|
Sets the animation value (abstract method) |
Sys.UI.PropertyAnimation
Method |
Description |
---|---|
|
Returns the property to animate |
|
Sets the property to animate |
|
Returns the key of the property to animate |
|
Get Programming Atlas now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.