wheel-gestures
Advanced tools
Comparing version 0.0.0-development to 1.0.1
@@ -364,4 +364,4 @@ 'use strict'; | ||
}), observe = _b.observe, unobserve = _b.unobserve, disconnect = _b.disconnect; | ||
var on = EventBus({ events: ['pan', 'pan-x', 'pan-y'] }).on; | ||
on('pan-x', function () { return undefined; }); | ||
var on = EventBus({ events: ['wheelpan'] }).on; | ||
on('wheelpan', function () { return undefined; }); | ||
return Object.freeze({ | ||
@@ -368,0 +368,0 @@ observe: observe, |
@@ -9,3 +9,3 @@ export * from './wheel-analyzer'; | ||
disconnect: () => void; | ||
on: (type: "pan" | "pan-x" | "pan-y", listener: () => void) => () => void; | ||
on: (type: "wheelpan", listener: () => void) => () => void; | ||
}>; |
@@ -361,4 +361,4 @@ import { debounce } from 'throttle-debounce'; | ||
}), observe = _b.observe, unobserve = _b.unobserve, disconnect = _b.disconnect; | ||
var on = EventBus({ events: ['pan', 'pan-x', 'pan-y'] }).on; | ||
on('pan-x', function () { return undefined; }); | ||
var on = EventBus({ events: ['wheelpan'] }).on; | ||
on('wheelpan', function () { return undefined; }); | ||
return Object.freeze({ | ||
@@ -365,0 +365,0 @@ observe: observe, |
@@ -6,3 +6,3 @@ { | ||
"types": "dist/wheel-gestures.d.ts", | ||
"version": "0.0.0-development", | ||
"version": "1.0.1", | ||
"description": "wheel gestures and momentum detection", | ||
@@ -9,0 +9,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
83013