Class TweenLite

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(target: Object, duration: number, vars: Object): TweenLite

Parameters

  • target: Object
  • duration: number
  • vars: Object

Returns

TweenLite

Properties

public data: any

public static defaultEase: Ease

public static defaultOverwrite: string

public static selector: any

public target: Object

public static ticker: IDispatcher

public timeline: SimpleTimeline

public vars: Object

Methods

public delay(value: number): any

Parameters

  • value: number

Returns

any

public static delayedCall(delay: number, callback: Function, params?: Array<any>, scope?: any, useFrames?: boolean): TweenLite

Parameters

  • delay: number
  • callback: Function
  • params?: Array<any> optional
  • scope?: any optional
  • useFrames?: boolean optional

Returns

TweenLite

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 static from(target: Object, duration: number, vars: Object): TweenLite

Parameters

  • target: Object
  • duration: number
  • vars: Object

Returns

TweenLite

public static fromTo(target: Object, duration: number, fromVars: Object, toVars: Object): TweenLite

Parameters

  • target: Object
  • duration: number
  • fromVars: Object
  • toVars: Object

Returns

TweenLite

public static getTweensOf(target: Object): Array<any>

Parameters

  • target: Object

Returns

Array<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 static killDelayedCallsTo(func: Function)

Parameters

  • func: Function

public static killTweensOf(target: Object, vars?: Object)

Parameters

  • target: Object
  • vars?: Object optional

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 static set(target: Object, vars: Object): TweenLite

Parameters

  • target: Object
  • vars: Object

Returns

TweenLite

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 static to(target: Object, duration: number, vars: Object): TweenLite

Parameters

  • target: Object
  • duration: number
  • vars: Object

Returns

TweenLite

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