1 | import type {
|
2 | A11yOptions,
|
3 | AutoplayOptions,
|
4 | ControllerOptions,
|
5 | CoverflowEffectOptions,
|
6 | CubeEffectOptions,
|
7 | FadeEffectOptions,
|
8 | FlipEffectOptions,
|
9 | CreativeEffectOptions,
|
10 | CardsEffectOptions,
|
11 | HashNavigationOptions,
|
12 | HistoryOptions,
|
13 | KeyboardOptions,
|
14 | MousewheelOptions,
|
15 | NavigationOptions,
|
16 | PaginationOptions,
|
17 | ParallaxOptions,
|
18 | ScrollbarOptions,
|
19 | ThumbsOptions,
|
20 | VirtualOptions,
|
21 | ZoomOptions,
|
22 | FreeModeOptions,
|
23 | GridOptions,
|
24 | } from './types/index.d.ts';
|
25 | import { ComponentOptionsMixin, DefineComponent, PropType, Ref } from 'vue';
|
26 | import type { SwiperOptions, Swiper as SwiperClass } from './types/index.d.ts';
|
27 |
|
28 | declare const Swiper: DefineComponent<
|
29 | {
|
30 | tag: {
|
31 | type: StringConstructor;
|
32 | default: string;
|
33 | };
|
34 | wrapperTag: {
|
35 | type: StringConstructor;
|
36 | default: string;
|
37 | };
|
38 | modules: {
|
39 | type: ArrayConstructor;
|
40 | default: undefined;
|
41 | };
|
42 | init: {
|
43 | type: BooleanConstructor;
|
44 | default: undefined;
|
45 | };
|
46 | direction: {
|
47 | type: PropType<SwiperOptions['direction']>;
|
48 | default: SwiperOptions['direction'];
|
49 | };
|
50 | oneWayMovement: {
|
51 | type: PropType<SwiperOptions['oneWayMovement']>;
|
52 | default: SwiperOptions['oneWayMovement'];
|
53 | };
|
54 | swiperElementNodeName: {
|
55 | type: PropType<SwiperOptions['swiperElementNodeName']>;
|
56 | default: SwiperOptions['swiperElementNodeName'];
|
57 | };
|
58 | touchEventsTarget: {
|
59 | type: PropType<SwiperOptions['touchEventsTarget']>;
|
60 | default: undefined;
|
61 | };
|
62 | initialSlide: {
|
63 | type: NumberConstructor;
|
64 | default: undefined;
|
65 | };
|
66 | speed: { type: NumberConstructor; default: undefined };
|
67 | cssMode: { type: BooleanConstructor; default: undefined };
|
68 | updateOnWindowResize: {
|
69 | type: BooleanConstructor;
|
70 | default: undefined;
|
71 | };
|
72 | resizeObserver: {
|
73 | type: BooleanConstructor;
|
74 | default: undefined;
|
75 | };
|
76 | nested: { type: BooleanConstructor; default: undefined };
|
77 | focusableElements: {
|
78 | type: StringConstructor;
|
79 | default: undefined;
|
80 | };
|
81 | width: { type: NumberConstructor; default: undefined };
|
82 | height: { type: NumberConstructor; default: undefined };
|
83 | preventInteractionOnTransition: {
|
84 | type: BooleanConstructor;
|
85 | default: undefined;
|
86 | };
|
87 | userAgent: { type: StringConstructor; default: undefined };
|
88 | url: { type: StringConstructor; default: undefined };
|
89 | edgeSwipeDetection: {
|
90 | type: BooleanConstructor | StringConstructor;
|
91 | default: undefined;
|
92 | };
|
93 | edgeSwipeThreshold: {
|
94 | type: NumberConstructor;
|
95 | default: undefined;
|
96 | };
|
97 | autoHeight: {
|
98 | type: BooleanConstructor;
|
99 | default: undefined;
|
100 | };
|
101 | setWrapperSize: {
|
102 | type: BooleanConstructor;
|
103 | default: undefined;
|
104 | };
|
105 | virtualTranslate: {
|
106 | type: BooleanConstructor;
|
107 | default: undefined;
|
108 | };
|
109 | effect: {
|
110 | type: PropType<SwiperOptions['effect']>;
|
111 | default: undefined;
|
112 | };
|
113 | breakpoints: {
|
114 | type: PropType<SwiperOptions['breakpoints']>;
|
115 | default: undefined;
|
116 | };
|
117 | spaceBetween: {
|
118 | type: PropType<SwiperOptions['spaceBetween']>;
|
119 | default: undefined;
|
120 | };
|
121 | slidesPerView: {
|
122 | type: PropType<SwiperOptions['slidesPerView']>;
|
123 | default: undefined;
|
124 | };
|
125 | maxBackfaceHiddenSlides: {
|
126 | type: NumberConstructor;
|
127 | default: undefined;
|
128 | };
|
129 | slidesPerGroup: {
|
130 | type: NumberConstructor;
|
131 | default: undefined;
|
132 | };
|
133 | slidesPerGroupSkip: {
|
134 | type: NumberConstructor;
|
135 | default: undefined;
|
136 | };
|
137 | slidesPerGroupAuto: {
|
138 | type: BooleanConstructor;
|
139 | default: undefined;
|
140 | };
|
141 | centeredSlides: {
|
142 | type: BooleanConstructor;
|
143 | default: undefined;
|
144 | };
|
145 | centeredSlidesBounds: {
|
146 | type: BooleanConstructor;
|
147 | default: undefined;
|
148 | };
|
149 | slidesOffsetBefore: {
|
150 | type: NumberConstructor;
|
151 | default: undefined;
|
152 | };
|
153 | slidesOffsetAfter: {
|
154 | type: NumberConstructor;
|
155 | default: undefined;
|
156 | };
|
157 | normalizeSlideIndex: {
|
158 | type: BooleanConstructor;
|
159 | default: undefined;
|
160 | };
|
161 | centerInsufficientSlides: {
|
162 | type: BooleanConstructor;
|
163 | default: undefined;
|
164 | };
|
165 | watchOverflow: {
|
166 | type: BooleanConstructor;
|
167 | default: undefined;
|
168 | };
|
169 | roundLengths: {
|
170 | type: BooleanConstructor;
|
171 | default: undefined;
|
172 | };
|
173 | touchRatio: {
|
174 | type: NumberConstructor;
|
175 | default: undefined;
|
176 | };
|
177 | touchAngle: {
|
178 | type: NumberConstructor;
|
179 | default: undefined;
|
180 | };
|
181 | simulateTouch: {
|
182 | type: BooleanConstructor;
|
183 | default: undefined;
|
184 | };
|
185 | shortSwipes: {
|
186 | type: BooleanConstructor;
|
187 | default: undefined;
|
188 | };
|
189 | longSwipes: {
|
190 | type: BooleanConstructor;
|
191 | default: undefined;
|
192 | };
|
193 | longSwipesRatio: {
|
194 | type: NumberConstructor;
|
195 | default: undefined;
|
196 | };
|
197 | longSwipesMs: {
|
198 | type: NumberConstructor;
|
199 | default: undefined;
|
200 | };
|
201 | followFinger: {
|
202 | type: BooleanConstructor;
|
203 | default: undefined;
|
204 | };
|
205 | allowTouchMove: {
|
206 | type: BooleanConstructor;
|
207 | default: undefined;
|
208 | };
|
209 | threshold: { type: NumberConstructor; default: undefined };
|
210 | touchMoveStopPropagation: {
|
211 | type: BooleanConstructor;
|
212 | default: undefined;
|
213 | };
|
214 | touchStartPreventDefault: {
|
215 | type: BooleanConstructor;
|
216 | default: undefined;
|
217 | };
|
218 | touchStartForcePreventDefault: {
|
219 | type: BooleanConstructor;
|
220 | default: undefined;
|
221 | };
|
222 | touchReleaseOnEdges: {
|
223 | type: BooleanConstructor;
|
224 | default: undefined;
|
225 | };
|
226 | uniqueNavElements: {
|
227 | type: BooleanConstructor;
|
228 | default: undefined;
|
229 | };
|
230 | resistance: {
|
231 | type: BooleanConstructor;
|
232 | default: undefined;
|
233 | };
|
234 | resistanceRatio: {
|
235 | type: NumberConstructor;
|
236 | default: undefined;
|
237 | };
|
238 | watchSlidesProgress: {
|
239 | type: BooleanConstructor;
|
240 | default: undefined;
|
241 | };
|
242 | grabCursor: {
|
243 | type: BooleanConstructor;
|
244 | default: undefined;
|
245 | };
|
246 | preventClicks: {
|
247 | type: BooleanConstructor;
|
248 | default: undefined;
|
249 | };
|
250 | preventClicksPropagation: {
|
251 | type: BooleanConstructor;
|
252 | default: undefined;
|
253 | };
|
254 | slideToClickedSlide: {
|
255 | type: BooleanConstructor;
|
256 | default: undefined;
|
257 | };
|
258 | loop: { type: BooleanConstructor; default: undefined };
|
259 | loopAddBlankSlides: { type: BooleanConstructor; default: undefined };
|
260 | loopAdditionalSlides: {
|
261 | type: NumberConstructor;
|
262 | default: undefined;
|
263 | };
|
264 | loopPreventsSliding: { type: BooleanConstructor; default: undefined };
|
265 | rewind: { type: BooleanConstructor; default: undefined };
|
266 | allowSlidePrev: {
|
267 | type: BooleanConstructor;
|
268 | default: undefined;
|
269 | };
|
270 | allowSlideNext: {
|
271 | type: BooleanConstructor;
|
272 | default: undefined;
|
273 | };
|
274 | swipeHandler: {
|
275 | type: BooleanConstructor;
|
276 | default: undefined;
|
277 | };
|
278 | noSwiping: {
|
279 | type: BooleanConstructor;
|
280 | default: undefined;
|
281 | };
|
282 | noSwipingClass: {
|
283 | type: StringConstructor;
|
284 | default: undefined;
|
285 | };
|
286 | noSwipingSelector: {
|
287 | type: StringConstructor;
|
288 | default: undefined;
|
289 | };
|
290 | passiveListeners: {
|
291 | type: BooleanConstructor;
|
292 | default: undefined;
|
293 | };
|
294 | containerModifierClass: {
|
295 | type: StringConstructor;
|
296 | default: undefined;
|
297 | };
|
298 | slideClass: {
|
299 | type: StringConstructor;
|
300 | default: undefined;
|
301 | };
|
302 | slideActiveClass: {
|
303 | type: StringConstructor;
|
304 | default: undefined;
|
305 | };
|
306 | slideVisibleClass: {
|
307 | type: StringConstructor;
|
308 | default: undefined;
|
309 | };
|
310 | slideFullyVisibleClass: {
|
311 | type: StringConstructor;
|
312 | default: undefined;
|
313 | };
|
314 | slideBlankClass: {
|
315 | type: StringConstructor;
|
316 | default: undefined;
|
317 | };
|
318 | slideNextClass: {
|
319 | type: StringConstructor;
|
320 | default: undefined;
|
321 | };
|
322 | slidePrevClass: {
|
323 | type: StringConstructor;
|
324 | default: undefined;
|
325 | };
|
326 | wrapperClass: {
|
327 | type: StringConstructor;
|
328 | default: undefined;
|
329 | };
|
330 | lazyPreloaderClass: {
|
331 | type: StringConstructor;
|
332 | default: undefined;
|
333 | };
|
334 | lazyPreloadPrevNext: {
|
335 | type: NumberConstructor;
|
336 | default: undefined;
|
337 | };
|
338 | runCallbacksOnInit: {
|
339 | type: BooleanConstructor;
|
340 | default: undefined;
|
341 | };
|
342 | observer: { type: BooleanConstructor; default: undefined };
|
343 | observeParents: {
|
344 | type: BooleanConstructor;
|
345 | default: undefined;
|
346 | };
|
347 | observeSlideChildren: {
|
348 | type: BooleanConstructor;
|
349 | default: undefined;
|
350 | };
|
351 | a11y: {
|
352 | type: PropType<A11yOptions | boolean>;
|
353 | default: undefined;
|
354 | };
|
355 | autoplay: {
|
356 | type: PropType<AutoplayOptions | boolean>;
|
357 | default: undefined;
|
358 | };
|
359 | controller: {
|
360 | type: PropType<ControllerOptions>;
|
361 | default: undefined;
|
362 | };
|
363 | coverflowEffect: {
|
364 | type: PropType<CoverflowEffectOptions>;
|
365 | default: undefined;
|
366 | };
|
367 | cubeEffect: {
|
368 | type: PropType<CubeEffectOptions>;
|
369 | default: undefined;
|
370 | };
|
371 | fadeEffect: {
|
372 | type: PropType<FadeEffectOptions>;
|
373 | default: undefined;
|
374 | };
|
375 | flipEffect: {
|
376 | type: PropType<FlipEffectOptions>;
|
377 | default: undefined;
|
378 | };
|
379 | creativeEffect: {
|
380 | type: PropType<CreativeEffectOptions>;
|
381 | default: undefined;
|
382 | };
|
383 | cardsEffect: {
|
384 | type: PropType<CardsEffectOptions>;
|
385 | default: undefined;
|
386 | };
|
387 | hashNavigation: {
|
388 | type: PropType<HashNavigationOptions | boolean>;
|
389 | default: undefined;
|
390 | };
|
391 | history: {
|
392 | type: PropType<HistoryOptions | boolean>;
|
393 | default: undefined;
|
394 | };
|
395 | keyboard: {
|
396 | type: PropType<KeyboardOptions | boolean>;
|
397 | default: undefined;
|
398 | };
|
399 | mousewheel: {
|
400 | type: PropType<MousewheelOptions | boolean>;
|
401 | default: undefined;
|
402 | };
|
403 | navigation: {
|
404 | type: PropType<NavigationOptions | boolean>;
|
405 | default: undefined;
|
406 | };
|
407 | pagination: {
|
408 | type: PropType<PaginationOptions | boolean>;
|
409 | default: undefined;
|
410 | };
|
411 | parallax: {
|
412 | type: PropType<ParallaxOptions | boolean>;
|
413 | default: undefined;
|
414 | };
|
415 | scrollbar: {
|
416 | type: PropType<ScrollbarOptions | boolean>;
|
417 | default: undefined;
|
418 | };
|
419 | thumbs: { type: PropType<ThumbsOptions>; default: undefined };
|
420 | virtual: {
|
421 | type: PropType<VirtualOptions | boolean>;
|
422 | default: undefined;
|
423 | };
|
424 | zoom: {
|
425 | type: PropType<ZoomOptions | boolean>;
|
426 | default: undefined;
|
427 | };
|
428 | freeMode: {
|
429 | type: PropType<FreeModeOptions | boolean>;
|
430 | default: undefined;
|
431 | };
|
432 | grid: {
|
433 | type: PropType<GridOptions>;
|
434 | default: undefined;
|
435 | };
|
436 | },
|
437 | () => JSX.Element,
|
438 | unknown,
|
439 | {},
|
440 | {},
|
441 | ComponentOptionsMixin,
|
442 | ComponentOptionsMixin,
|
443 | {
|
444 | swiper: (swiper: SwiperClass) => void;
|
445 | |
446 |
|
447 |
|
448 | autoplayStart: (swiper: SwiperClass) => void;
|
449 | |
450 |
|
451 |
|
452 | autoplayStop: (swiper: SwiperClass) => void;
|
453 | |
454 |
|
455 |
|
456 | autoplayPause: (swiper: SwiperClass) => void;
|
457 | |
458 |
|
459 |
|
460 | autoplayResume: (swiper: SwiperClass) => void;
|
461 | |
462 |
|
463 |
|
464 | autoplayTimeLeft: (swiper: SwiperClass, timeLeft: number, percentage: number) => void;
|
465 | |
466 |
|
467 |
|
468 | autoplay: (swiper: SwiperClass) => void; |
469 |
|
470 |
|
471 | hashChange: (swiper: SwiperClass) => void;
|
472 | |
473 |
|
474 |
|
475 | hashSet: (swiper: SwiperClass) => void; |
476 |
|
477 |
|
478 | keyPress: (swiper: SwiperClass, keyCode: string) => void; |
479 |
|
480 |
|
481 | navigationHide: (swiper: SwiperClass) => void;
|
482 | |
483 |
|
484 |
|
485 | navigationShow: (swiper: SwiperClass) => void;
|
486 | |
487 |
|
488 |
|
489 | navigationPrev: (swiper: SwiperClass) => void;
|
490 | |
491 |
|
492 |
|
493 | navigationNext: (swiper: SwiperClass) => void; |
494 |
|
495 |
|
496 | paginationRender: (swiper: SwiperClass, paginationEl: HTMLElement) => void;
|
497 |
|
498 | |
499 |
|
500 |
|
501 | paginationUpdate: (swiper: SwiperClass, paginationEl: HTMLElement) => void;
|
502 |
|
503 | |
504 |
|
505 |
|
506 | paginationHide: (swiper: SwiperClass) => void;
|
507 |
|
508 | |
509 |
|
510 |
|
511 | paginationShow: (swiper: SwiperClass) => void; |
512 |
|
513 |
|
514 | scrollbarDragStart: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
515 |
|
516 | |
517 |
|
518 |
|
519 | scrollbarDragMove: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
520 |
|
521 | |
522 |
|
523 |
|
524 | scrollbarDragEnd: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void; |
525 |
|
526 |
|
527 | zoomChange: (swiper: SwiperClass, scale: number, imageEl: HTMLElement, slideEl: HTMLElement) => void; |
528 |
|
529 |
|
530 | scroll: (swiper: SwiperClass, event: WheelEvent) => void;
|
531 |
|
532 | |
533 |
|
534 |
|
535 |
|
536 |
|
537 |
|
538 |
|
539 |
|
540 |
|
541 |
|
542 |
|
543 |
|
544 |
|
545 |
|
546 |
|
547 |
|
548 |
|
549 |
|
550 |
|
551 |
|
552 |
|
553 |
|
554 |
|
555 |
|
556 |
|
557 |
|
558 |
|
559 |
|
560 |
|
561 |
|
562 |
|
563 | init: (swiper: SwiperClass) => any;
|
564 |
|
565 | |
566 |
|
567 |
|
568 | beforeDestroy: (swiper: SwiperClass) => void;
|
569 |
|
570 | |
571 |
|
572 |
|
573 | slidesUpdated: (swiper: SwiperClass) => void;
|
574 | |
575 |
|
576 |
|
577 | slideChange: (swiper: SwiperClass) => void;
|
578 |
|
579 | |
580 |
|
581 |
|
582 | slideChangeTransitionStart: (swiper: SwiperClass) => void;
|
583 |
|
584 | |
585 |
|
586 |
|
587 | slideChangeTransitionEnd: (swiper: SwiperClass) => void;
|
588 |
|
589 | |
590 |
|
591 |
|
592 | slideNextTransitionStart: (swiper: SwiperClass) => void;
|
593 |
|
594 | |
595 |
|
596 |
|
597 | slideNextTransitionEnd: (swiper: SwiperClass) => void;
|
598 |
|
599 | |
600 |
|
601 |
|
602 | slidePrevTransitionStart: (swiper: SwiperClass) => void;
|
603 |
|
604 | |
605 |
|
606 |
|
607 | slidePrevTransitionEnd: (swiper: SwiperClass) => void;
|
608 |
|
609 | |
610 |
|
611 |
|
612 | transitionStart: (swiper: SwiperClass) => void;
|
613 |
|
614 | |
615 |
|
616 |
|
617 | transitionEnd: (swiper: SwiperClass) => void;
|
618 |
|
619 | |
620 |
|
621 |
|
622 | touchStart: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
623 |
|
624 | |
625 |
|
626 |
|
627 | touchMove: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
628 |
|
629 | |
630 |
|
631 |
|
632 | touchMoveOpposite: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
633 |
|
634 | |
635 |
|
636 |
|
637 | sliderMove: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
638 |
|
639 | |
640 |
|
641 |
|
642 | touchEnd: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
643 |
|
644 | |
645 |
|
646 |
|
647 | click: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
648 |
|
649 | |
650 |
|
651 |
|
652 | tap: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
653 |
|
654 | |
655 |
|
656 |
|
657 | doubleTap: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
658 |
|
659 | |
660 |
|
661 |
|
662 | progress: (swiper: SwiperClass, progress: number) => void;
|
663 |
|
664 | |
665 |
|
666 |
|
667 | reachBeginning: (swiper: SwiperClass) => void;
|
668 |
|
669 | |
670 |
|
671 |
|
672 | reachEnd: (swiper: SwiperClass) => void;
|
673 |
|
674 | |
675 |
|
676 |
|
677 | toEdge: (swiper: SwiperClass) => void;
|
678 |
|
679 | |
680 |
|
681 |
|
682 | fromEdge: (swiper: SwiperClass) => void;
|
683 |
|
684 | |
685 |
|
686 |
|
687 | setTranslate: (swiper: SwiperClass, translate: number) => void;
|
688 |
|
689 | |
690 |
|
691 |
|
692 | setTransition: (swiper: SwiperClass, transition: number) => void;
|
693 |
|
694 | |
695 |
|
696 |
|
697 | resize: (swiper: SwiperClass) => void;
|
698 |
|
699 | |
700 |
|
701 |
|
702 | observerUpdate: (swiper: SwiperClass) => void;
|
703 |
|
704 | |
705 |
|
706 |
|
707 | beforeLoopFix: (swiper: SwiperClass) => void;
|
708 |
|
709 | |
710 |
|
711 |
|
712 | loopFix: (swiper: SwiperClass) => void;
|
713 |
|
714 | |
715 |
|
716 |
|
717 | breakpoint: (swiper: SwiperClass, breakpointParams: SwiperOptions) => void;
|
718 |
|
719 | |
720 |
|
721 |
|
722 | _beforeBreakpoint: (swiper: SwiperClass, breakpointParams: SwiperOptions) => void;
|
723 |
|
724 | |
725 |
|
726 |
|
727 | _containerClasses: (swiper: SwiperClass, classNames: string) => void;
|
728 |
|
729 | |
730 |
|
731 |
|
732 | _slideClass: (swiper: SwiperClass, slideEl: HTMLElement, classNames: string) => void;
|
733 |
|
734 | |
735 |
|
736 |
|
737 | _slideClasses: (
|
738 | swiper: SwiperClass,
|
739 | slides: { slideEl: HTMLElement; classNames: string; index: number }[],
|
740 | ) => void;
|
741 |
|
742 | |
743 |
|
744 |
|
745 | _swiper: (swiper: SwiperClass) => void;
|
746 |
|
747 | |
748 |
|
749 |
|
750 | _freeModeNoMomentumRelease: (swiper: SwiperClass) => void;
|
751 |
|
752 | |
753 |
|
754 |
|
755 | activeIndexChange: (swiper: SwiperClass) => void;
|
756 | |
757 |
|
758 |
|
759 | snapIndexChange: (swiper: SwiperClass) => void;
|
760 | |
761 |
|
762 |
|
763 | realIndexChange: (swiper: SwiperClass) => void;
|
764 | |
765 |
|
766 |
|
767 | afterInit: (swiper: SwiperClass) => void;
|
768 | |
769 |
|
770 |
|
771 | beforeInit: (swiper: SwiperClass) => void;
|
772 | |
773 |
|
774 |
|
775 | beforeResize: (swiper: SwiperClass) => void;
|
776 | |
777 |
|
778 |
|
779 | beforeSlideChangeStart: (swiper: SwiperClass) => void;
|
780 | |
781 |
|
782 |
|
783 | beforeTransitionStart: (swiper: SwiperClass, speed: number, internal: any) => void;
|
784 | |
785 |
|
786 |
|
787 | changeDirection: (swiper: SwiperClass) => void;
|
788 | |
789 |
|
790 |
|
791 | doubleClick: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;
|
792 | |
793 |
|
794 |
|
795 | destroy: (swiper: SwiperClass) => void;
|
796 | |
797 |
|
798 |
|
799 | momentumBounce: (swiper: SwiperClass) => void;
|
800 | |
801 |
|
802 |
|
803 | orientationchange: (swiper: SwiperClass) => void;
|
804 | |
805 |
|
806 |
|
807 | slideResetTransitionStart: (swiper: SwiperClass) => void;
|
808 | |
809 |
|
810 |
|
811 | slideResetTransitionEnd: (swiper: SwiperClass) => void;
|
812 | |
813 |
|
814 |
|
815 | sliderFirstMove: (swiper: SwiperClass, event: TouchEvent) => void;
|
816 | |
817 |
|
818 |
|
819 | slidesLengthChange: (swiper: SwiperClass) => void;
|
820 | |
821 |
|
822 |
|
823 | slidesGridLengthChange: (swiper: SwiperClass) => void;
|
824 | |
825 |
|
826 |
|
827 | snapGridLengthChange: (swiper: SwiperClass) => void;
|
828 | |
829 |
|
830 |
|
831 | update: (swiper: SwiperClass) => void;
|
832 | |
833 |
|
834 |
|
835 | lock: (swiper: SwiperClass) => void;
|
836 | |
837 |
|
838 |
|
839 | unlock: (swiper: SwiperClass) => void;
|
840 |
|
841 | }
|
842 | >;
|
843 |
|
844 | declare const SwiperSlide: DefineComponent<{
|
845 | tag: {
|
846 | type: StringConstructor;
|
847 | default: string;
|
848 | };
|
849 | swiperRef: { type: PropType<SwiperClass>; required: false };
|
850 | lazy: { type: BooleanConstructor; default: false };
|
851 | zoom: { type: BooleanConstructor; default: undefined };
|
852 | virtualIndex: {
|
853 | type: StringConstructor | NumberConstructor;
|
854 | default: undefined;
|
855 | };
|
856 | }>;
|
857 |
|
858 | declare const useSwiper: () => Ref<SwiperClass>;
|
859 | declare const useSwiperSlide: () => Ref<{
|
860 | isActive: boolean;
|
861 | isVisible: boolean;
|
862 | isPrev: boolean;
|
863 | isNext: boolean;
|
864 | }>;
|
865 |
|
866 | export { Swiper, SwiperSlide, useSwiper, useSwiperSlide };
|