Created
February 12, 2010 00:28
-
-
Save ncrohn/302158 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SC.View.design(SC.Animatable, { | |
layout: { top: 20+(25*i), right: 0, left: 20, height: 25 }, | |
transitions: { | |
height: { duration: .25, timing: SC.Animatable.TRANSITION_EASE_IN_OUT } | |
} | |
//--- more code --- | |
//--- in render method --- | |
for(var i=0;i<c;i++) { | |
var kid = children[i]; | |
if(kid.isAnimatable) { | |
var f = kid.get("frame"); | |
kid.adjust("height", 100); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment