myTransitions

myTransitions

new myTransitions()

Description:
  • Create myTransitions object
Source:

Methods

_getShapeLineData()

Description:
  • Returns an array of lines & changes linking the objects & collections together
Source:

bloom(collection, timing, period, out)

Description:
  • Returns transitions for bloom animation
Source:
Parameters:
Name Type Default Description
collection ClCollection Canvas Lab collection
timing string | function Timing function
period number Period of timer
out boolean true Whether to bloom out, or in

hop(object, collection, timing, period)

Description:
  • Returns transitions for hop animation
Source:
Parameters:
Name Type Description
object clObject Canvas Lab object
collection ClCollection Canvas Lab collection
timing string | function Timing function
period number Period of timer

shape(shape, collection, timing, period, clClass)

Description:
  • Creates shape from array of numbers
Source:
Parameters:
Name Type Description
shape Array Array of collection indexes
collection ClCollection Canvas Lab collection
timing string | function Timing function
period number Period of timer
clClass object Canvas Lab object class

skip(object, collection, timing, period)

Description:
  • Returns transitions for skip animation
Source:
Parameters:
Name Type Description
object clObject Canvas Lab object
collection ClCollection Canvas Lab collection
timing string | function Timing function
period number Period of timer

template(value)

Description:
  • Set template
Source:
See:
Parameters:
Name Type Description
value Template Template object

template() → {Template}

Description:
  • Get template
Source:
See:
Returns:
Template object
Type
Template

transitions() → {number}

Description:
  • Get transitions
Source:
Returns:
Transitions of object
Type
number