mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
added type information to tweenjs-test.ts and loadHandler method of soundjs-test.ts.
This commit is contained in:
1 parent
5f6f23fd76
commit
a41a87730a
2 files changed
+2
-3
No files matched your search
@@ -2,12 +2,11 @@
|
||||
///<reference path="../easeljs/easeljs.d.ts"/>
|
||||
|
||||
var target: createjs.DisplayObject = new createjs.DisplayObject();
|
||||
var Tween: createjs.Tween = createjs.Tween;
|
||||
|
||||
// source : http://www.createjs.com/Docs/TweenJS/modules/TweenJS.html
|
||||
// Chainable modules :
|
||||
target.alpha = 1;
|
||||
Tween.get(target).wait(500, false).to({ alpha: 0, visible: false }, 1000).call(onComplete);
|
||||
createjs.Tween.get(target).wait(500, false).to({ alpha: 0, visible: false }, 1000).call(onComplete);
|
||||
function onComplete() {
|
||||
//Tween complete
|
||||
}
|
||||
Reference in new issue
Block a user