1 | import { SwiperOptions } from './swiper-options';
|
2 | import Swiper from './swiper-class';
|
3 |
|
4 | import { A11yEvents } from './components/a11y';
|
5 | import { AutoplayEvents } from './components/autoplay';
|
6 | import { ControllerEvents } from './components/controller';
|
7 | import { CoverflowEffectEvents } from './components/effect-coverflow';
|
8 | import { CubeEffectEvents } from './components/effect-cube';
|
9 | import { FadeEffectEvents } from './components/effect-fade';
|
10 | import { FlipEffectEvents } from './components/effect-flip';
|
11 | import { HashNavigationEvents } from './components/hash-navigation';
|
12 | import { HistoryEvents } from './components/history';
|
13 | import { KeyboardEvents } from './components/keyboard';
|
14 | import { LazyEvents } from './components/lazy';
|
15 | import { MousewheelEvents } from './components/mousewheel';
|
16 | import { NavigationEvents } from './components/navigation';
|
17 | import { PaginationEvents } from './components/pagination';
|
18 | import { ParallaxEvents } from './components/parallax';
|
19 | import { ScrollbarEvents } from './components/scrollbar';
|
20 | import { ThumbsEvents } from './components/thumbs';
|
21 | import { VirtualEvents } from './components/virtual';
|
22 | import { ZoomEvents } from './components/zoom';
|
23 |
|
24 | export interface SwiperEvents {
|
25 |
|
26 | |
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 | init: (swiper: Swiper) => any;
|
54 |
|
55 | |
56 |
|
57 |
|
58 | beforeDestroy: (swiper: Swiper) => void;
|
59 |
|
60 | |
61 |
|
62 |
|
63 | slideChange: (swiper: Swiper) => void;
|
64 |
|
65 | |
66 |
|
67 |
|
68 | slideChangeTransitionStart: (swiper: Swiper) => void;
|
69 |
|
70 | |
71 |
|
72 |
|
73 | slideChangeTransitionEnd: (swiper: Swiper) => void;
|
74 |
|
75 | |
76 |
|
77 |
|
78 | slideNextTransitionStart: (swiper: Swiper) => void;
|
79 |
|
80 | |
81 |
|
82 |
|
83 | slideNextTransitionEnd: (swiper: Swiper) => void;
|
84 |
|
85 | |
86 |
|
87 |
|
88 | slidePrevTransitionStart: (swiper: Swiper) => void;
|
89 |
|
90 | |
91 |
|
92 |
|
93 | slidePrevTransitionEnd: (swiper: Swiper) => void;
|
94 |
|
95 | |
96 |
|
97 |
|
98 | transitionStart: (swiper: Swiper) => void;
|
99 |
|
100 | |
101 |
|
102 |
|
103 | transitionEnd: (swiper: Swiper) => void;
|
104 |
|
105 | |
106 |
|
107 |
|
108 | touchStart: (swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
109 |
|
110 | |
111 |
|
112 |
|
113 | touchMove: (swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
114 |
|
115 | |
116 |
|
117 |
|
118 | touchMoveOpposite: (swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
119 |
|
120 | |
121 |
|
122 |
|
123 | sliderMove: (swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
124 |
|
125 | |
126 |
|
127 |
|
128 | touchEnd: (swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
129 |
|
130 | |
131 |
|
132 |
|
133 | click: (swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
134 |
|
135 | |
136 |
|
137 |
|
138 | tap: (swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
139 |
|
140 | |
141 |
|
142 |
|
143 | doubleTap: (swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
144 |
|
145 | |
146 |
|
147 |
|
148 | imagesReady: (swiper: Swiper) => void;
|
149 |
|
150 | |
151 |
|
152 |
|
153 | progress: (swiper: Swiper, progress: number) => void;
|
154 |
|
155 | |
156 |
|
157 |
|
158 | reachBeginning: (swiper: Swiper) => void;
|
159 |
|
160 | |
161 |
|
162 |
|
163 | reachEnd: (swiper: Swiper) => void;
|
164 |
|
165 | |
166 |
|
167 |
|
168 | toEdge: (swiper: Swiper) => void;
|
169 |
|
170 | |
171 |
|
172 |
|
173 | fromEdge: (swiper: Swiper) => void;
|
174 |
|
175 | |
176 |
|
177 |
|
178 | setTranslate: (swiper: Swiper, translate: number) => void;
|
179 |
|
180 | |
181 |
|
182 |
|
183 | setTransition: (swiper: Swiper, transition: number) => void;
|
184 |
|
185 | |
186 |
|
187 |
|
188 | resize: (swiper: Swiper) => void;
|
189 |
|
190 | |
191 |
|
192 |
|
193 | observerUpdate: (swiper: Swiper) => void;
|
194 |
|
195 | |
196 |
|
197 |
|
198 | beforeLoopFix: (swiper: Swiper) => void;
|
199 |
|
200 | |
201 |
|
202 |
|
203 | loopFix: (swiper: Swiper) => void;
|
204 |
|
205 | |
206 |
|
207 |
|
208 | breakpoint: (swiper: Swiper, breakpointParams: SwiperOptions) => void;
|
209 |
|
210 | }
|
211 |
|
212 | interface SwiperEvents extends A11yEvents {}
|
213 | interface SwiperEvents extends AutoplayEvents {}
|
214 | interface SwiperEvents extends ControllerEvents {}
|
215 | interface SwiperEvents extends CoverflowEffectEvents {}
|
216 | interface SwiperEvents extends CubeEffectEvents {}
|
217 | interface SwiperEvents extends FadeEffectEvents {}
|
218 | interface SwiperEvents extends FlipEffectEvents {}
|
219 | interface SwiperEvents extends HashNavigationEvents {}
|
220 | interface SwiperEvents extends HistoryEvents {}
|
221 | interface SwiperEvents extends KeyboardEvents {}
|
222 | interface SwiperEvents extends LazyEvents {}
|
223 | interface SwiperEvents extends MousewheelEvents {}
|
224 | interface SwiperEvents extends NavigationEvents {}
|
225 | interface SwiperEvents extends PaginationEvents {}
|
226 | interface SwiperEvents extends ParallaxEvents {}
|
227 | interface SwiperEvents extends ScrollbarEvents {}
|
228 | interface SwiperEvents extends ThumbsEvents {}
|
229 | interface SwiperEvents extends VirtualEvents {}
|
230 | interface SwiperEvents extends ZoomEvents {}
|