mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-06 09:19:08 +00:00
Merge pull request #17717 from andreaskian/master
Swiper: Added missing/new callbacks from 3.4.2 and `wrapper` + `virtualSize` properties
This commit is contained in:
6
types/swiper/index.d.ts
vendored
6
types/swiper/index.d.ts
vendored
@@ -193,6 +193,10 @@ interface SwiperOptions {
|
||||
onLazyImageLoad?(swiper: Swiper, slide: any, image: any): void;
|
||||
onLazyImageReady?(swiper: Swiper, slide: any, image: any): void;
|
||||
onPaginationRendered?(swiper: Swiper, paginationContainer: any): void;
|
||||
onScroll?(swiper: Swiper, event: Event): void;
|
||||
onBeforeResize?(swiper: Swiper): void;
|
||||
onAfterResize?(swiper: Swiper): void;
|
||||
onKeyPress?(swiper: Swiper, kc: any): void;
|
||||
|
||||
// Namespace
|
||||
slideClass?: string;
|
||||
@@ -237,6 +241,8 @@ declare class Swiper {
|
||||
height: number;
|
||||
params: any;
|
||||
positions: any;
|
||||
wrapper: any;
|
||||
virtualSize: number;
|
||||
|
||||
// Feature detection
|
||||
support: {
|
||||
|
||||
Reference in New Issue
Block a user