Swiper - v12.0.3
    Preparing search index...

    Interface AutoplayMethods

    interface AutoplayMethods {
        paused: boolean;
        running: boolean;
        timeLeft: number;
        pause(): void;
        resume(): void;
        start(): boolean;
        stop(): boolean;
    }
    Index

    Properties

    paused: boolean

    Whether autoplay is paused

    running: boolean

    Whether autoplay enabled and running

    timeLeft: number

    If autoplay is paused, it contains time left (in ms) before transition to next slide

    Methods

    • Pause autoplay

      Returns void

    • Resume autoplay

      Returns void

    • Start autoplay

      Returns boolean

    • Stop autoplay

      Returns boolean