aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Tween.reel/Tween.js
diff options
context:
space:
mode:
authorJonathan Duran2012-05-16 11:20:13 -0700
committerJonathan Duran2012-05-16 11:20:13 -0700
commita5e3eb0cec55858cf911bffc429ce1de817a60ef (patch)
tree9d206d79e0565f46ba4b9853b4d02d151571113b /js/panels/Timeline/Tween.reel/Tween.js
parente5830f3424c7db84f0e76b237616cbf59fe9ed1c (diff)
downloadninja-a5e3eb0cec55858cf911bffc429ce1de817a60ef.tar.gz
methods for setting simple ease and splitting sub prop spans
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels/Timeline/Tween.reel/Tween.js')
-rw-r--r--js/panels/Timeline/Tween.reel/Tween.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js
index f857ebd4..b61b0ca9 100644
--- a/js/panels/Timeline/Tween.reel/Tween.js
+++ b/js/panels/Timeline/Tween.reel/Tween.js
@@ -239,6 +239,14 @@ var Tween = exports.Tween = Montage.create(Component, {
239 } 239 }
240 }, 240 },
241 241
242 setKeyframeEase:{
243 value:function(easeType){
244 // easeTypes - ease, ease-out, ease-in, ease-in-out, linear, cubic-bezier(x1, y1, x2, y2)
245 this.tweenedProperties["-webkit-animation-timing-function"] = easeType;
246 this.parentComponent.parentComponent.updatePropKeyframeRule();
247 }
248 },
249
242 selectTween:{ 250 selectTween:{
243 value: function(){ 251 value: function(){
244 // turn on event listener for element change 252 // turn on event listener for element change