1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
declare class TweenMax {
constructor(target:any, duration:Number, vars:any ); static to(target:any, duration:Number, vars:any ) : TweenMax; static from(target:any, duration:Number, vars:any ) : TweenMax; static fromTo(target:any, duration:Number, fromVars:any, toVars:any ) : TweenMax; static staggerFrom(target:any, duration:Number, fromVars:any, toVars:any ) : TweenMax; static staggerTo(targets:Array<any>, duration:Number, vars:any, stagger?:Number, onCompleteAll?:Function, onCompleteAllParams?:Array<any>, onCompleteAllScope?:any ) : Array<any>; static staggerFromTo(targets:Array<any>, duration:Number, fromVars:any, toVars:any, stagger?:Number, onCompleteAll?:Function, onCompleteAllParams?:Array<any>, onCompleteAllScope?:any ) : Array<any> static getTweensOf(target:any, onlyActive:Boolean ); static delayedCall(delay:Number, callback:Function, params?:Array<any>, scope?:any, useFrames?:Boolean ) : TweenMax; static killDelayedCallsTo(func:Function ); static killTweensOf(target:any, vars?:any ); static killAll(complete?:Boolean, tweens?:Boolean, delayedCalls?:Boolean, timelines?:Boolean ); static killChildTweensOf(parent:any, complete?:Boolean ); static pauseAll(tweens:Boolean, delayedCalls:Boolean, timelines:Boolean ); static resumeAll(tweens:Boolean, delayedCalls:Boolean, timelines:Boolean ); static set(target:any, vars:any ) : TweenMax;
isActive() : Boolean; delay(value?:Number ) :any; duration(value:Number ) :any; eventCallback(type:String, callback?:Function, params?:Array<any>, scope?:any ) :any; endTime(includeRepeats:Boolean ) : Number;
invalidate(); kill(vars?:any, target?:any ) :any; pause(atTime:any, suppressEvents:Boolean ) :any; paused(value:Boolean ) :any; play(from:any, suppressEvents:Boolean ) :any; progress(value:Number, suppressEvents:Boolean ) :any;
restart(includeDelay?:Boolean, suppressEvents?:Boolean ) :any; resume(from?:any, suppressEvents?:Boolean ) :any;
reverse(from?:any, suppressEvents?:Boolean ) :any;
reversed(value?:Boolean ) :any;
repeat(value:Number ) :any;
repeatDelay(value:Number ) :any;
seek(time:any, suppressEvents?:Boolean ) :any; startTime(value:Number ) :any; time(value:Number ) :any; timeScale(value:Number ) :any;
totalDuration(value:Number ) :any; totalProgress(value:Number, suppressEvents:Boolean ) :any; totalTime(time:Number, suppressEvents:Boolean ) :any;
updateTo(vars:object, resetDuration?:Boolean ) :any;
data: any; target: any; readonly timeline: any; vars: any; }
|