Socket
Socket
Sign inDemoInstall

@types/react-slick

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-slick - npm Package Compare versions

Comparing version 0.15.1 to 0.23.0

45

react-slick/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for react-slick 0.15
// Type definitions for react-slick 0.23
// Project: https://github.com/akiran/react-slick

@@ -30,17 +30,20 @@ // Definitions by: Andrey Balokha <https://github.com/andrewBalekha>

accessibility?: boolean;
className?: string;
adaptiveHeight?: boolean;
afterChange?(currentSlide: number): void;
appendDots?(dots: React.ReactNode): JSX.Element;
arrows?: boolean;
nextArrow?: JSX.Element;
prevArrow?: JSX.Element;
asNavFor?: Slider;
autoplaySpeed?: number;
autoplay?: boolean;
autoplaySpeed?: number;
beforeChange?(currentSlide: number, nextSlide: number): void;
centerMode?: boolean;
centerPadding?: string;
className?: string;
cssEase?: string;
customPaging?(index: number): JSX.Element;
dotsClass?: string;
dots?: boolean;
dotsClass?: string;
draggable?: boolean;
easing?: string;
edgeFriction?: number;
fade?: boolean;

@@ -50,25 +53,31 @@ focusOnSelect?: boolean;

initialSlide?: number;
lazyLoad?: boolean;
lazyLoad?: "ondemand" | "progressive";
nextArrow?: JSX.Element;
onEdge?(swipeDirection: SwipeDirection): void;
onInit?(): void;
onLazyLoad?(slidesToLoad: number[]): void;
onReInit?(): void;
onSwipe?(swipeDirection: SwipeDirection): void;
pauseOnDotsHover?: boolean;
pauseOnFocus?: boolean;
pauseOnHover?: boolean;
prevArrow?: JSX.Element;
responsive?: ResponsiveObject[];
rows?: number;
rtl?: boolean;
slide?: string;
slidesPerRow?: number;
slidesToScroll?: number;
slidesToShow?: number;
slidesToScroll?: number;
speed?: number;
swipeToSlide?: boolean;
swipe?: boolean;
swipeToSlide?: boolean;
swipeEvent?(swipeDirection: SwipeDirection): void;
touchMove?: boolean;
touchThreshold?: number;
useCSS?: boolean;
useTransform?: boolean;
variableWidth?: boolean;
useCSS?: boolean;
vertical?: boolean;
afterChange?(currentSlide: number): void;
beforeChange?(currentSlide: number, nextSlide: number): void;
slickGoTo?: number;
edgeFriction?: number;
waitForAnimate?: boolean;
edgeEvent?(swipeDirection: SwipeDirection): void;
swipeEvent?(swipeDirection: SwipeDirection): void;
init?(): void;
}

@@ -79,5 +88,5 @@

slickPrev(): void;
slickGoTo(slideNumber: number): void;
slickGoTo(slideNumber: number, dontAnimate?: boolean): void;
}
export default Slider;

4

react-slick/package.json
{
"name": "@types/react-slick",
"version": "0.15.1",
"version": "0.23.0",
"description": "TypeScript definitions for react-slick",

@@ -32,4 +32,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "db1352d55276bbc064baa2897a1a4777a8f28223085336d70acc9f0a0c8aef62",
"typesPublisherContentHash": "f8be05d959f4f8eaaf133b5133c385385046cee06c76835d3025536803cff3d1",
"typeScriptVersion": "2.6"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Mon, 12 Feb 2018 20:56:58 GMT
* Last updated: Tue, 24 Apr 2018 23:31:50 GMT
* Dependencies: react

@@ -14,0 +14,0 @@ * Global values: none

Sorry, the diff of this file is not supported yet

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