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

here's example


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -