You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming element is a native DOM element, this works: $.Velocity.animate(element, { top: 200 })
but this doesn't: $.Velocity.animate(element, "transition.bounceIn")
From a quick glance at the code, it seems that animate wants an array or a jQuery object when using a Sequence. It would be handy if one could directly pass a single DOM element.
The text was updated successfully, but these errors were encountered:
Fixes sequences with raw DOM elements and utility function. Closes#247. Closes#249. Thanks, @fattenap.
Prepare Velocity for the upcoming jQuery shim. Closes#208.
Assuming
element
is a native DOM element, this works:$.Velocity.animate(element, { top: 200 })
but this doesn't:
$.Velocity.animate(element, "transition.bounceIn")
From a quick glance at the code, it seems that
animate
wants an array or a jQuery object when using a Sequence. It would be handy if one could directly pass a single DOM element.The text was updated successfully, but these errors were encountered: