Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/swiper

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/swiper - npm Package Compare versions

Comparing version 3.4.0 to 3.4.1

73

swiper/index.d.ts

@@ -100,6 +100,6 @@ // Type definitions for Swiper 3.4

paginationElement?: string;
paginationBulletRender?: (swiper: Swiper, index: number, className: string) => void;
paginationFractionRender?: (swiper: Swiper, currentClassName: string, totalClassName: string) => void;
paginationProgressRender?: (swiper: Swiper, progressbarClass: string) => void;
paginationCustomRender?: (swiper: Swiper, current: number, total: number) => void;
paginationBulletRender?(swiper: Swiper, index: number, className: string): void;
paginationFractionRender?(swiper: Swiper, currentClassName: string, totalClassName: string): void;
paginationProgressRender?(swiper: Swiper, progressbarClass: string): void;
paginationCustomRender?(swiper: Swiper, current: number, total: number): void;

@@ -116,3 +116,2 @@ // Navigation Buttons

// Accessibility

@@ -126,3 +125,2 @@ a11y?: boolean;

// Keyboard / Mousewheel

@@ -141,3 +139,2 @@ keyboardControl?: boolean;

// Images

@@ -172,32 +169,32 @@ preloadImages?: boolean;

runCallbacksOnInit?: boolean;
onInit?: (swiper: Swiper) => void;
onSlideChangeStart?: (swiper: Swiper) => void;
onSlideChangeEnd?: (swiper: Swiper) => void;
onSlideNextStart?: (swiper: Swiper) => void;
onSlideNextEnd?: (swiper: Swiper) => void;
onSlidePrevStart?: (swiper: Swiper) => void;
onSlidePrevEnd?: (swiper: Swiper) => void;
onTransitionStart?: (swiper: Swiper) => void;
onTransitionEnd?: (swiper: Swiper) => void;
onTouchStart?: (swiper: Swiper, event: Event) => void;
onTouchMove?: (swiper: Swiper, event: Event) => void;
onTouchMoveOpposite?: (swiper: Swiper, event: Event) => void;
onSliderMove?: (swiper: Swiper, event: Event) => void;
onTouchEnd?: (swiper: Swiper, event: Event) => void;
onClick?: (swiper: Swiper, event: Event) => void;
onTap?: (swiper: Swiper, event: Event) => void;
onDoubleTap?: (swiper: Swiper, event: Event) => void;
onImagesReady?: (swiper: Swiper) => void;
onProgress?: (swiper: Swiper, progress: number) => void;
onReachBeginning?: (swiper: Swiper) => void;
onReachEnd?: (swiper: Swiper) => void;
onDestroy?: (swiper: Swiper) => void;
onSetTranslate?: (swiper: Swiper, translate: any) => void;
onSetTransition?: (swiper: Swiper, transition: any) => void;
onAutoplay?: (swiper: Swiper) => void;
onAutoplayStart?: (swiper: Swiper) => void;
onAutoplayStop?: (swiper: Swiper) => void;
onLazyImageLoad?: (swiper: Swiper, slide: any, image: any) => void;
onLazyImageReady?: (swiper: Swiper, slide: any, image: any) => void;
onPaginationRendered?: (swiper: Swiper, paginationContainer: any) => void;
onInit?(swiper: Swiper): void;
onSlideChangeStart?(swiper: Swiper): void;
onSlideChangeEnd?(swiper: Swiper): void;
onSlideNextStart?(swiper: Swiper): void;
onSlideNextEnd?(swiper: Swiper): void;
onSlidePrevStart?(swiper: Swiper): void;
onSlidePrevEnd?(swiper: Swiper): void;
onTransitionStart?(swiper: Swiper): void;
onTransitionEnd?(swiper: Swiper): void;
onTouchStart?(swiper: Swiper, event: Event): void;
onTouchMove?(swiper: Swiper, event: Event): void;
onTouchMoveOpposite?(swiper: Swiper, event: Event): void;
onSliderMove?(swiper: Swiper, event: Event): void;
onTouchEnd?(swiper: Swiper, event: Event): void;
onClick?(swiper: Swiper, event: Event): void;
onTap?(swiper: Swiper, event: Event): void;
onDoubleTap?(swiper: Swiper, event: Event): void;
onImagesReady?(swiper: Swiper): void;
onProgress?(swiper: Swiper, progress: number): void;
onReachBeginning?(swiper: Swiper): void;
onReachEnd?(swiper: Swiper): void;
onDestroy?(swiper: Swiper): void;
onSetTranslate?(swiper: Swiper, translate: any): void;
onSetTransition?(swiper: Swiper, transition: any): void;
onAutoplay?(swiper: Swiper): void;
onAutoplayStart?(swiper: Swiper): void;
onAutoplayStop?(swiper: Swiper): void;
onLazyImageLoad?(swiper: Swiper, slide: any, image: any): void;
onLazyImageReady?(swiper: Swiper, slide: any, image: any): void;
onPaginationRendered?(swiper: Swiper, paginationContainer: any): void;

@@ -329,3 +326,3 @@ // Namespace

plugins?: {
debugger?: (swiper: any, params: any) => void;
debugger?(swiper: any, params: any): void;
};

@@ -332,0 +329,0 @@ }

{
"name": "@types/swiper",
"version": "3.4.0",
"version": "3.4.1",
"description": "TypeScript definitions for Swiper",
"license": "MIT",
"author": "Sebastián Galiano <https://github.com/sgaliano/>, Luca Trazzi <https://github.com/lucax88x/>",
"contributors": [
{
"name": "Sebastián Galiano",
"url": "https://github.com/sgaliano/"
},
{
"name": "Luca Trazzi",
"url": "https://github.com/lucax88x/"
}
],
"main": "",

@@ -15,4 +24,4 @@ "repository": {

"peerDependencies": {},
"typesPublisherContentHash": "5b50f0b52166e35e741cc351fbeb2e5156f9025872fc6d4094789583970c13bc",
"typesPublisherContentHash": "998df61f9c6bb5d0138e521567ec364788024cf5dd2547db9e724adf3102e9a4",
"typeScriptVersion": "2.0"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/swiper
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/swiper
Additional Details
* Last updated: Fri, 20 Jan 2017 19:10:13 GMT
* Last updated: Thu, 30 Mar 2017 22:42:53 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: Swiper, SwiperSlide

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc