UNPKG

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