Swiper - v12.0.3
    Preparing search index...

    Interface AutoplayEvents

    interface AutoplayEvents {
        autoplay: (swiper: SwiperClass) => void;
        autoplayPause: (swiper: SwiperClass) => void;
        autoplayResume: (swiper: SwiperClass) => void;
        autoplayStart: (swiper: SwiperClass) => void;
        autoplayStop: (swiper: SwiperClass) => void;
        autoplayTimeLeft: (
            swiper: SwiperClass,
            timeLeft: number,
            percentage: number,
        ) => void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    autoplay: (swiper: SwiperClass) => void

    Event will be fired when slide changed with autoplay

    autoplayPause: (swiper: SwiperClass) => void

    Event will be fired on autoplay pause

    autoplayResume: (swiper: SwiperClass) => void

    Event will be fired on autoplay resume

    autoplayStart: (swiper: SwiperClass) => void

    Event will be fired in when autoplay started

    autoplayStop: (swiper: SwiperClass) => void

    Event will be fired when autoplay stopped

    autoplayTimeLeft: (
        swiper: SwiperClass,
        timeLeft: number,
        percentage: number,
    ) => void

    Event triggers continuously while autoplay is enabled. It contains time left (in ms) before transition to next slide and percentage of that time related to autoplay delay