-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
animation class #5
Comments
Are you referring to |
Yes :) For example we could extend PB.$('#element').setScroll({
top: 400,
left: 100
}, 0.4 /* duration in seconds */, 'easeInOut' /* animation effect */); |
Maybe we should make all numeric properties animatable, not just CSS values. |
Would indeed be interesting. Guess this means we should ditch css transitions and animate all properties ourself? |
I think it would be best to whitelist CSS transitions, in order to keep H/W acceleration performance up. But fall back to numeric transitions when there is no CSS animation available. The spec has a list of all transition able properties: http://www.w3.org/TR/css3-transitions/#properties-from-css- |
Should handle scrollbar animations.
Should be used to add an morph method for browsers that don't support css transitions
The text was updated successfully, but these errors were encountered: