Closed lionel-m closed 10 years ago
jQuery easing works with jquery animate. I don't use animate if css transitions are available. You can find the css3 equivalent and put that in the cssEase option to get the behavior you want on your browser.
I came here to ask the same question, but after reading @kenwheeler's comment, I used this tool http://matthewlein.com/ceaser/ to generate custom easing and put the cubic-bazier(...)
in cssEase
property.
$(document).ready(function() {
$('.fade').slick({
dots: true,
infinite: true,
speed: 800,
fade: false,
slide: 'div',
cssEase: 'cubic-bezier(0.950, 0.050, 0.795, 0.035)'
});
});
and it worked!
@Landish that's awesome. Mind if I take a peek?
@kenwheeler Yeah, i've made a little demo for that: http://jsbin.com/lazoraqa/2/edit?html,output
Is this no longer functional? It seems whenever I place something in the cssEase param, it doesn't look any different.
What are you putting in?
Hey @kenwheeler I just found another github issue that resolved the confusion, the current version of the plugin requires useTransform: true. It is now working. #1950
Thanks for this plugin, it is awesome!
No prob, glad you enjoy it!
Love the plugin. I'd like to interrupt the slide transition when clicking the arrow so that users can rapid-fire click the next arrow and have it respond right away instead of what it does now, ignore the arrow click until the css transition is complete. Since stopping css transition is a hacking headache, any suggestions on how to handle this?
Hi,
Can we use jQuery Easing Plugin ?
I added the script :
And added
easing
But it does not work. Should I add or change something?
Thanks