Gathering detailed insights and metrics for embla-carousel-wheel-gestures
Gathering detailed insights and metrics for embla-carousel-wheel-gestures
Gathering detailed insights and metrics for embla-carousel-wheel-gestures
Gathering detailed insights and metrics for embla-carousel-wheel-gestures
npm install embla-carousel-wheel-gestures
Typescript
Module System
Min. Node Version
TypeScript (84.21%)
JavaScript (15.79%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
60 Stars
273 Commits
9 Forks
3 Watchers
6 Branches
7 Contributors
Updated on Jun 14, 2025
Latest Version
8.0.2
Package Id
embla-carousel-wheel-gestures@8.0.2
Unpacked Size
111.42 kB
Size
24.42 kB
File Count
22
Published on
Apr 03, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
This plugin adds wheel interactions to the amazing Embla Carousel
First you need to follow the installation instructions for Embla Carousel, after that you can add wheel support:
1yarn add embla-carousel-wheel-gestures # npm install --save embla-carousel-wheel-gestures
1import EmblaCarousel from 'embla-carousel' 2import { WheelGesturesPlugin } from 'embla-carousel-wheel-gestures' 3 4// initialize Embla Carousel 5const embla = EmblaCarousel(emblaNode, options, [ 6 WheelGesturesPlugin() 7])
1import { useEmblaCarousel } from 'embla-carousel-react' 2import { WheelGesturesPlugin } from 'embla-carousel-wheel-gestures' 3 4const EmblaCarouselComponent = ({ children }) => { 5 const [emblaRef, embla] = useEmblaCarousel({ loop: false, skipSnaps: true }, [ 6 WheelGesturesPlugin(), 7 ]) 8 9 // ... 10}
Get started instantly with one of the CodeSandboxes below.
Type: string
Default: is-wheel-dragging
Choose a classname that will be applied to the container during a wheel gesture. Pass an empty string to opt-out.
Type: 'x' | 'y'
Default: undefined
Force an axis on which to listen for wheel events. Useful if you want to slide horizontally when scrolling vertically or vice versa.
Type: Element
Default: undefined
Specify the element that should be observed for wheel events.
You can also set global options that will be applied to all instances. This allows for overriding the default plugin options with your own:
1WheelGesturesPlugin.globalOptions = {
2 wheelDraggingClass: 'my-class',
3}
If you need to support IE 10 & 11 you might need to install and add extra polyfills:
1// Adds support old IE >= 10 2import 'core-js/stable' 3import 'events-polyfill/src/constructors/MouseEvent'
Kudos to David Jerleke for creating Embla Carousel with its open API 🙏
MIT.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 2
Reason
Found 2/26 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
29 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More