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:
Ron Buckton
2017-07-03 12:54:25 -07:00
committed by GitHub

View File

@@ -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: {