Class SimpleTimeline

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(vars?: Object): SimpleTimeline

Parameters

  • vars?: Object optional

Returns

SimpleTimeline

Properties

public autoRemoveChildren: boolean

public data: any

public smoothChildTiming: boolean

public timeline: SimpleTimeline

public vars: Object

Methods

public add(value: any, position?: any, align?: string, stagger?: number): any

Parameters

  • value: any
  • position?: any optional
  • align?: string optional
  • stagger?: number optional

Returns

any

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 insert(tween: any, time: any): any

Parameters

  • tween: any
  • time: any

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 render(time: number, suppressEvents?: boolean, force?: boolean)

Parameters

  • time: number
  • suppressEvents?: boolean optional
  • force?: boolean optional

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