react-free-carousel
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -130,2 +130,9 @@ 'use strict'; | ||
}, { | ||
key: 'stopCarousel', | ||
value: function stopCarousel() { | ||
if (this.slidingInterval) { | ||
clearInterval(this.slidingInterval); | ||
} | ||
} | ||
}, { | ||
key: 'playCarousel', | ||
@@ -145,9 +152,2 @@ value: function playCarousel() { | ||
}, { | ||
key: 'stopCarousel', | ||
value: function stopCarousel() { | ||
if (this.slidingInterval) { | ||
clearInterval(this.slidingInterval); | ||
} | ||
} | ||
}, { | ||
key: 'gotoPage', | ||
@@ -154,0 +154,0 @@ value: function gotoPage(page) { |
{ | ||
"name": "react-free-carousel", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "Carousel component for free flex-box layout built with React.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -77,2 +77,8 @@ import React from 'react'; | ||
stopCarousel() { | ||
if (this.slidingInterval) { | ||
clearInterval(this.slidingInterval); | ||
} | ||
} | ||
playCarousel() { | ||
@@ -89,8 +95,2 @@ this.stopCarousel(); | ||
stopCarousel() { | ||
if (this.slidingInterval) { | ||
clearInterval(this.slidingInterval); | ||
} | ||
} | ||
gotoPage(page) { | ||
@@ -97,0 +97,0 @@ const newPage = page > this.state.pages ? 0 : page; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package