Class Animation

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(duration?: number, vars?: Object): Animation

Parameters

  • duration?: number optional
  • vars?: Object optional

Returns

Animation

Properties

public data: any

public static ticker: IDispatcher

public timeline: SimpleTimeline

public vars: Object

Methods

public delay(value: number): any

Parameters

  • value: number

Returns

any

public duration(value: number): any

Parameters

  • value: number

Returns

any

public eventCallback(type: string, callback?: Function, params?: Array<any>, scope?: any): any

Parameters

  • type: string
  • callback?: Function optional
  • params?: Array<any> optional
  • scope?: any optional

Returns

any

public invalidate(): any

Returns

any

public isActive(): boolean

Returns

boolean

public kill(vars?: Object, target?: Object): any

Parameters

  • vars?: Object optional
  • target?: Object optional

Returns

any

public pause(atTime?: any, suppressEvents?: boolean): any

Parameters

  • atTime?: any optional
  • suppressEvents?: boolean optional

Returns

any

public paused(value?: boolean): any

Parameters

  • value?: boolean optional

Returns

any

public play(from?: any, suppressEvents?: boolean): any

Parameters

  • from?: any optional
  • suppressEvents?: boolean optional

Returns

any

public restart(includeDelay?: boolean, suppressEvents?: boolean): any

Parameters

  • includeDelay?: boolean optional
  • suppressEvents?: boolean optional

Returns

any

public resume(from?: any, suppressEvents?: boolean): any

Parameters

  • from?: any optional
  • suppressEvents?: boolean optional

Returns

any

public reverse(from?: any, suppressEvents?: boolean): any

Parameters

  • from?: any optional
  • suppressEvents?: boolean optional

Returns

any

public reversed(value?: boolean): any

Parameters

  • value?: boolean optional

Returns

any

public seek(time: any, suppressEvents?: boolean): any

Parameters

  • time: any
  • suppressEvents?: boolean optional

Returns

any

public startTime(value: number): any

Parameters

  • value: number

Returns

any

public time(value: number, suppressEvents?: boolean): any

Parameters

  • value: number
  • suppressEvents?: boolean optional

Returns

any

public timeScale(value: number): any

Parameters

  • value: number

Returns

any

public totalDuration(value: number): any

Parameters

  • value: number

Returns

any

public totalTime(time: number, suppressEvents?: boolean): any

Parameters

  • time: number
  • suppressEvents?: boolean optional

Returns

any