Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Timeline

Hierarchy

  • Emitter
    • Timeline

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

animations

animations: Map<Symbol, Animation>

auto

auto: boolean = false

delta

delta: number = 0

fps

fps: number

speed

speed: number = 1

Accessors

stat

  • get stat(): number
  • Getter for performance

    Returns number

    The frame rate

Methods

add

  • Add an animation

    Parameters

    • animation: any

      You can pass an object that describe the animation or directly an Animation object

    Returns Animation

remove

  • remove(animation: any): void
  • Remove an animation

    Parameters

    • animation: any

      Remove an animation of the animations' stack. It will not fire an event "end".

    Returns void

start

  • start(__namedParameters?: { auto: any; fps: any; speed: any }): void
  • Start the RAF method

    Parameters

    • __namedParameters: { auto: any; fps: any; speed: any } = {}

    Returns void

Generated using TypeDoc