Helper function to build animations.
enter()Animation$enter(animation = NULL, easing = NULL, delay = NULL, duration = NULL)
animationName of animation; clipIn, zoomIn,
pathIn, scaleInY, scaleInX, fanIn, or fadeIn.
easingName of easing function.
delay, durationDelay and duration in milliseconds.
Animation to use on enter
leave()Animation$leave(animation = NULL, easing = NULL, delay = NULL, duration = NULL)
animationName of animation; lineWidthOut,
zoomOut, pathOut, or fadeOut.
easingName of easing function.
delay, durationDelay and duration in milliseconds.
Animation to use on leave
appear()Animation$appear( animation = NULL, easing = NULL, delay = NULL, duration = NULL )
animationName of animation; clipIn,
zoomIn, pathIn, scaleInY, scaleInX, fanIn,
or fadeIn.
easingName of easing function.
delay, durationDelay and duration in milliseconds.
Animation to use on appear
update()Animation$update( animation = NULL, easing = NULL, delay = NULL, duration = NULL )
animationName of animation; fadeIn, or fanIn.
easingName of easing function.
delay, durationDelay and duration in milliseconds.
Animation to use on appear
print()Animation$print()
retrieve()Animation$retrieve()
Retrieve the animation list
clone()The objects of this class are cloneable with this method.
Animation$clone(deep = FALSE)
deepWhether to make a deep clone.
# create animation anim <- Animation$ new()$ appear( duration = 2000, delay = 500 ) iris %>% g2(asp(Sepal.Length, Sepal.Width, color = Species)) %>% fig_point(anim)