API Reference 0.3.24dart_web_toolkit_animationAnimationHandle

AnimationHandle abstract class

A handle to the requested animation frame created by {@link #requestAnimationFrame(AnimationCallback, Element)}.

abstract class AnimationHandle {
 /**
  * Cancel the requested animation frame. If the animation frame is already
  * canceled, do nothing.
  */
 void cancel();
}

Subclasses

AnimationHandleImplTimer, AnimationHandleImplWebkit

Methods

abstract void cancel() #

Cancel the requested animation frame. If the animation frame is already canceled, do nothing.