1 | import Swiper from '../swiper-class';
|
2 |
|
3 | export interface ControllerMethods {
|
4 | /**
|
5 | * Pass here another Swiper instance or array with Swiper instances that should be controlled
|
6 | * by this Swiper
|
7 | */
|
8 | control?: Swiper | Swiper[];
|
9 | }
|
10 |
|
11 | export interface ControllerEvents {}
|
12 |
|
13 | export interface ControllerOptions {
|
14 | /**
|
15 | * Pass here another Swiper instance or array with Swiper instances that should be controlled
|
16 | * by this Swiper
|
17 | */
|
18 | control?: Swiper | Swiper[];
|
19 |
|
20 | /**
|
21 | * Set to `true` and controlling will be in inverse direction
|
22 | *
|
23 | * @default false
|
24 | */
|
25 | inverse?: boolean;
|
26 |
|
27 | /**
|
28 | * Defines a way how to control another slider: slide by slide
|
29 | * (with respect to other slider's grid) or depending on all slides/container
|
30 | * (depending on total slider percentage).
|
31 | *
|
32 | * @default 'slide'
|
33 | */
|
34 | by?: 'slide' | 'container';
|
35 | }
|