Class blade.core.animation.Sequence

Object
   |
   +--blade.core.animation.Sequence
Direct Known Subclasses:
blade.core.animation.Scaling, blade.core.animation.Rotation, blade.core.animation.Translation

class blade.core.animation.Sequence

Animation sequence base class

Defined in animation.js


Constructor Summary
blade.core.animation.Sequence (element, vector, length, speed)
           
 
Method Summary
 function begin()
           Starts the internal timer, begins running the sequence
 function cancel()
           Cancels the sequence
 function handle()
           Dummy event handler - this should be overridden by the implementing class
 function increment()
           Steps to the next frame in the sequence.
 function initialize(element)
           Makes sure an element's CSS position, top, and left values are properly set up for an animation.
 function resume()
           Resumes a suspended sequence
 function suspend()
           Temporarily suspends the sequence, but leaves the internal timer running

Constructor Detail

blade.core.animation.Sequence

function blade.core.animation.Sequence(element, vector, length, speed)
Method Detail

begin

function begin()

cancel

function cancel()

handle

function handle()

increment

function increment()

initialize

function initialize(element)

resume

function resume()

suspend

function suspend()