AnimationHandleImplWebkit class
Webkit implementation of {@link AnimationScheduler.AnimationHandle}. Webkit provides the request ID as a int.
class AnimationHandleImplWebkit extends AnimationHandle { int requestId; AnimationSchedulerImplWebkit impl; AnimationHandleImplWebkit(this.requestId, this.impl); void cancel() { this.impl.cancelAnimationFrameImpl(requestId); } }
Extends
AnimationHandle > AnimationHandleImplWebkit
Constructors
new AnimationHandleImplWebkit(int requestId, AnimationSchedulerImplWebkit impl) #
Properties
AnimationSchedulerImplWebkit impl #
AnimationSchedulerImplWebkit impl
int requestId #
int requestId
Methods
void cancel() #
Cancel the requested animation frame. If the animation frame is already canceled, do nothing.
docs inherited from AnimationHandle
void cancel() { this.impl.cancelAnimationFrameImpl(requestId); }