1 | import Swiper from '../swiper-class';
|
2 |
|
3 | export interface ThumbsMethods {
|
4 | /**
|
5 | * Swiper instance of thumbs swiper
|
6 | */
|
7 | swiper: Swiper;
|
8 | }
|
9 |
|
10 | export interface ThumbsEvents {}
|
11 |
|
12 | export interface ThumbsOptions {
|
13 | /**
|
14 | * Swiper instance of swiper used as thumbs or object with Swiper parameters to initialize thumbs swiper
|
15 | *
|
16 | * @default null
|
17 | */
|
18 | swiper?: Swiper;
|
19 | /**
|
20 | * Additional class that will be added to activated thumbs swiper slide
|
21 | *
|
22 | * @default 'swiper-slide-thumb-active'
|
23 | */
|
24 | slideThumbActiveClass?: string;
|
25 | /**
|
26 | * Additional class that will be added to thumbs swiper-container
|
27 | *
|
28 | * @default 'swiper-container-thumbs'
|
29 | */
|
30 | thumbsContainerClass?: string;
|
31 | /**
|
32 | * When enabled multiple thumbnail slides may get activated
|
33 | *
|
34 | * @default true
|
35 | */
|
36 | multipleActiveThumbs?: boolean;
|
37 | /**
|
38 | * Allows to set on which thumbs active slide from edge it should automaticall move scroll thumbs. For example, if set to 1 and last visible thumb will be activated (1 from edge) it will auto scroll thumbs
|
39 |
|
40 | *
|
41 | * @default 0
|
42 | */
|
43 | autoScrollOffset?: number;
|
44 | }
|