NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import {AnimationList} from 'ngl/src/animation/animation.js'
public class | source

AnimationList

Animation list.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get

True when all animations have finished

Private Members
private
private

Method Summary

Public Methods
public

then(callback: Function): Promise

Promise-like interface

Public Constructors

public constructor() source

Public Members

public get done: Boolean source

True when all animations have finished

Private Members

private _list source

private _resolveList source

Public Methods

public then(callback: Function): Promise source

Promise-like interface

Params:

NameTypeAttributeDescription
callback Function

a callback

Return:

Promise

a promise