M
M
myskypesla2017-07-18 09:48:25
JavaScript
myskypesla, 2017-07-18 09:48:25

How to let the animation finish and only then scroll through the slide in slick js?

There is a slider and each slide has an animation: before flipping (going into transparency) and after flipping (appearing from transparency).

How to let the animation finish before scrolling and only then scroll through the slide in slick js?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Nosikov, 2017-07-18
@deimon260993

It all depends on how the slide is animated, for example, in case the animation is done through CSS:
https://learn.javascript.ru/css-transitions#events...
getinstance.info/articles/javascript/css3 -animatio...
You can also dig into the plugin code and tweak a little to fit your goals)
If the animation is done using FadeIN / FadeOut, you can do this:

$('#slide').fadeIn('slow', function() {
    // Animation complete.
  });

E
Eugene, 2017-07-19
@Eugeny1987

Add the right time for effects at the time of the slide

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question