Phillip Smith
Phillip Smith
...I ended up just pasting the minified code into the codepen. http://cdpn.io/LIpoF This should demonstrate the basic problem I'm trying to solve. Elements are updating, and animations are being applied...
> The only way to narrow it down to being an issue with Velocity is if you quickly re-implement your demo so that it's built with jQuery's $.animate(). In the...
> Yes, it is faster. Why: Velocity can perform optimizations across elements in a set that share the same parent. (Specifically, it can skip recalculating unit conversion ratios, e.g. px...
> If you are forcefeeding from px to px, then you're fine. There are no optimizations to be made. > Good: $elem.velocity({ left: 100}).velocity({ left: 200 }); > Bad: $elem.velocity({...
> Chain animations (don't trigger a new one when the previous one ends... queue them up while the element is still animating). This one's tough. What if I want to...
> That sounds like a parallel animation, which is produced by setting queue: false, but in reality I presume you're asking, "What if I stop the current animation abruptly and...
I thought I was animating from 0 to 1. Looks like I should have read the docs more closely... How embarrassing! > Forcefed start values are passed in as a...
:) Updated the codepen. I don't mean to be "that guy" who needs help reading the docs, though, sorry about that.
Yep, it looks like everything is working as intended. All I'm missing is a way to halt/cancel the current animation, and start the next immediately. Thanks again for all of...
Hi Alexander, What seems to be incorrect about the rendering?