javascript - Easing with .hide('slide')? -
is possible have easing this:
('#sidebar').hide('slide', {direction: 'right' }, 800, function(){...});
at moment jittery moving maybe.. 100 - 500 pixels (depending on content). have been looking google , people use easing, when looking @ documentation cannot see property easing.
you can specify easing
property in options
object (the second argument):
$('#sidebar').hide('slide', { direction: 'right', easing: 'easeoutbounce' }, 800, function(){...});
check out easing documentation
Comments
Post a Comment