Simple and fast CSS page transitions in your hybrid mobile app
trigger.io
trigger.io
You'd need to setup the Trigger.io build / test environment to see the full example code from the post used in a mobile app. Maybe next time we can show that to you in a screencast, we'll work on it.
Not a screencast as I can't gauge lag from that, but a functioning demo to play with.
I want to be able to test on my phone to see it's "simple and fast" from the UX perspective before I'll investigate further.
Is using/experimenting with Trigger.io as trivial as an apt-get or npm install?
The sort of thing you've described seems to have been implemented pretty well as a zepto plugin: http://blog.kojo.com.au/flickable-zepto-plugin/ (in particular this demo: http://blog.kojo.com.au/demos/flickable/demo2.html ) which works wonderfully on my Galaxy Nexus, but I haven't had much of a chance to play with this yet!
Android has a whole bunch of velocity trackers, but they're probably expensive in JS (solve least squares, etc). Code is here: https://github.com/android/platform_frameworks_base/blob/mas...
We can't accelerate animation on a mobile app that uses position:fixed for persistent headers due to http://code.google.com/p/chromium/issues/detail?id=20574
This makes for some jerky transitions, unfortunately, but the alternative is forgoing the simplicity and performance afforded by position:fixed for persistent nav.
:-D
"Zepto exclusively uses CSS transitions for effects and animation. jQuery easings are not supported."