mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
soundjs / tweenjs : Added tests + filled in defs to pass those tests + added documentation links
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
///<reference path="./tweenjs.d.ts"/>
|
||||
|
||||
declare var target;
|
||||
var Tween = createjs.Tween;
|
||||
|
||||
// source : http://www.createjs.com/Docs/TweenJS/modules/TweenJS.html
|
||||
// Chainable modules :
|
||||
target.alpha = 1;
|
||||
Tween.get(target).wait(500).to({ alpha: 0, visible: false }, 1000).call(onComplete);
|
||||
function onComplete() {
|
||||
//Tween complete
|
||||
}
|
||||
Reference in New Issue
Block a user