Home Reference Source Repository
import CAAnimationDelegate from 'jscenekit/js/QuartzCore/CAAnimationDelegate.js'
public interface | source

CAAnimationDelegate

Methods your app can implement to respond when animations start and stop.

See:

Method Summary

Public Methods
public

Tells the delegate the animation has started.

public

The animation may have ended because it has completed its active duration or because it has been removed from the layer it is attached to.

Public Methods

public animationDidStart(anim: CAAnimation): void source

Tells the delegate the animation has started.

Params:

NameTypeAttributeDescription
anim CAAnimation

The CAAnimation object that has started.

Return:

void

See:

public animationDidStopFinished(anim: CAAnimation, flag: boolean): void source

The animation may have ended because it has completed its active duration or because it has been removed from the layer it is attached to. flag is true if the animation reached the end of its duration without being removed.

Params:

NameTypeAttributeDescription
anim CAAnimation

The CAAnimation object that has ended.

flag boolean

A flag indicating whether the animation has completed by reaching the end of its duration.

Return:

void

See: