geoview-core - v2.2.0
    Preparing search index...

    Interface ISwiperState

    Represents the Swiper Zustand store slice.

    Manages state for the swiper including layer paths and orientation.

    interface ISwiperState {
        actions: {
            setLayerPaths: (layerPaths: string[]) => void;
            setOrientation: (orientation: SwipeOrientation) => void;
        };
        layerPaths: string[];
        orientation: SwipeOrientation;
    }
    Index

    Properties

    actions: {
        setLayerPaths: (layerPaths: string[]) => void;
        setOrientation: (orientation: SwipeOrientation) => void;
    }

    Actions to mutate the Swiper state.

    Type Declaration

    • setLayerPaths: (layerPaths: string[]) => void

      Sets the full list of layer paths for the swiper.

    • setOrientation: (orientation: SwipeOrientation) => void

      Sets the swiper orientation.

    layerPaths: string[]

    The list of layer paths currently participating in the swiper.

    orientation: SwipeOrientation

    The current orientation of the swiper divider.