Swiper - v12.0.3
    Preparing search index...
    interface HashNavigationOptions {
        getSlideIndex?: (swiper: SwiperClass, hash: string) => number;
        replaceState?: boolean;
        watchState?: boolean;
    }
    Index

    Properties

    getSlideIndex?: (swiper: SwiperClass, hash: string) => number

    Designed to be used with Virtual slides when it is impossible to find slide in DOM by hash (e.g. not yet rendered)

    replaceState?: boolean

    Works in addition to hashnav to replace current url state with the new one instead of adding it to history

    false
    
    watchState?: boolean

    Set to true to enable also navigation through slides (when hashnav is enabled) by browser history or by setting directly hash on document location

    false