A
A
Andrey Ivanov2019-03-06 13:11:28
Slick
Andrey Ivanov, 2019-03-06 13:11:28

How to determine if the slide has changed?

How to determine if the slide has changed or remained the same?

function isChangeSlide(currentSlide,) {
    if (currentSlide === currentSlide + 1 || currentSlide === currentSlide - 1){
        return true;
    } else {
        return false;
    }
}

There is such a code but it is not correct. How right?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question