API Reference 0.3.24dart_web_toolkit_animationAnimationHandleImplWebkit

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) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
AnimationHandleImplWebkit(this.requestId, this.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);
}