Socket
Socket
Sign inDemoInstall

@webhare/dompack-carrousel-slideshow

Package Overview
Dependencies
2
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @webhare/dompack-carrousel-slideshow

Slideshow build upon the dompack-carrousel


Version published
Maintainers
4
Install size
128 kB
Created

Readme

Source

What does it do

This is a simple slideshow build upon the carrousel. Because of this you can drag it using touchdevices and have snapping.

Usage of CarrouselSlideshow

Add to your package.json peerDependencies:

"dompack-carrousel-slideshow": "https://github.com/WebHare/dompack-carrousel-slideshow"

At the top of your script:

import * as CarrouselSlideshow from "dompack-carrousel-slideshow";

Initializing:

  var slideshow = new CarrouselSlideshow(node, options);

Updating settings: (FIXME: not implemented yet)

    slideshow.setOptions(options);
    slideshow.refresh();

Options

  • autoplay: true
  • autoplay_initialdelay delay the first start of autoplay to prevent having a lot of slideshows run in sync
  • autoplay_freezeslideduration amount of milliseconds to keep the slide still (after the transition effect) before going to the next
  • autoplay_staypausedfor amount of time to keep frozen after a mouseover (FIXME: not implemented yet)
  • transitionDuration
  • eventPassthrough makes vertical scrolling keep on working (however at the moment it can cause textual selections)
  • jumpbuttons CSS selector (string), array with nodes or nodelist with jumpbuttons
  • debug

Future plans

  • more effects?

FAQs

Last updated on 31 Jul 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc