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

@adactive/arc-carousel-asia

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adactive/arc-carousel-asia - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

2

package.json
{
"name": "@adactive/arc-carousel-asia",
"version": "2.3.0",
"version": "2.3.1",
"description": "Adsum Carousel Component",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -149,17 +149,2 @@ // @flow

if(autoSlide){
if(setTimeoutSlide!==null) {clearTimeout(setTimeoutSlide)};
if(id === (this.carousel.state.slideCount-1)){
this.setState({
setTimeoutSlide: setTimeout(() => { this.carousel.goToSlide(0); }, autoSlideInterval),
})
} else {
this.setState({
setTimeoutSlide: setTimeout(() => { this.carousel.goToSlide(id+1); }, autoSlideInterval),
})
}
}
if (!isOpen) return;

@@ -169,2 +154,17 @@

this.playVideo(id);
} else {
if(autoSlide){
if(setTimeoutSlide!==null) {clearTimeout(setTimeoutSlide)};
if(id === (this.carousel.state.slideCount-1)){
this.setState({
setTimeoutSlide: setTimeout(() => { this.carousel.goToSlide(0); }, autoSlideInterval),
})
} else {
this.setState({
setTimeoutSlide: setTimeout(() => { this.carousel.goToSlide(id+1); }, autoSlideInterval),
})
}
}
}

@@ -171,0 +171,0 @@ }

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