Morph Class
Morph animation class to swap between two nodes.
Constructor
Morph
()
Methods
_perform_anim_morph
(
private
-
ev
-
src
-
target
Perform the animated version of the Morph.
Parameters:
-
ev
Event -
src
Node -
target
Node
initializer
(
-
cfg
Pass an optional animate boolean flag to skip animations. Useful for initial states/testing.
Parameters:
-
cfg
Object
morph
(
-
reverse
Perform the morph animation between the nodes.
Parameters:
-
reverse
Boolthe animation back.
reverse
()
Reverse the animation effect.
Shortcut for morph(true)