|
@@ -473,28 +473,6 @@ interface Options extends ResponsiveOptions {
|
|
|
* - `false`: Disables keyboard shortcuts (default).
|
|
|
*/
|
|
|
keyboard?: boolean | 'global' | 'focused';
|
|
|
- /**
|
|
|
- * Enables navigation by the mouse wheel.
|
|
|
- * You'll need to set `waitForTransition` to `ture` or provide the `wheelSleep` duration to avoid quick change.
|
|
|
- */
|
|
|
- wheel?: boolean;
|
|
|
- /**
|
|
|
- * Determines the wheel axis. The default value is 'y'.
|
|
|
- */
|
|
|
- wheelAxis?: 'x' | 'y' | 'xy';
|
|
|
- /**
|
|
|
- * The threshold to cut off the small delta produced by inertia scroll.
|
|
|
- */
|
|
|
- wheelMinThreshold?: number;
|
|
|
- /**
|
|
|
- * The sleep time in milliseconds until accepting next wheel.
|
|
|
- * The timer starts when the transition begins.
|
|
|
- */
|
|
|
- wheelSleep?: number;
|
|
|
- /**
|
|
|
- * Determines whether to release the wheel event when the carousel reaches the first or last slide.
|
|
|
- */
|
|
|
- releaseWheel?: boolean;
|
|
|
/**
|
|
|
* Determines whether to release the touch event when the carousel reaches the first or last slide.
|
|
|
* If `true`, the bounce effect will not play.
|
|
@@ -751,6 +729,28 @@ interface ResponsiveOptions {
|
|
|
* Limits the number of pages to move by "flick".
|
|
|
*/
|
|
|
flickMaxPages?: number;
|
|
|
+ /**
|
|
|
+ * Enables navigation by the mouse wheel.
|
|
|
+ * You'll need to set `waitForTransition` to `ture` or provide the `wheelSleep` duration to avoid quick change.
|
|
|
+ */
|
|
|
+ wheel?: boolean;
|
|
|
+ /**
|
|
|
+ * Determines the wheel axis. The default value is 'y'.
|
|
|
+ */
|
|
|
+ wheelAxis?: 'x' | 'y' | 'xy';
|
|
|
+ /**
|
|
|
+ * The threshold to cut off the small delta produced by inertia scroll.
|
|
|
+ */
|
|
|
+ wheelMinThreshold?: number;
|
|
|
+ /**
|
|
|
+ * The sleep time in milliseconds until accepting next wheel.
|
|
|
+ * The timer starts when the transition begins.
|
|
|
+ */
|
|
|
+ wheelSleep?: number;
|
|
|
+ /**
|
|
|
+ * Determines whether to release the wheel event when the carousel reaches the first or last slide.
|
|
|
+ */
|
|
|
+ releaseWheel?: boolean;
|
|
|
/**
|
|
|
* Destroys the slider.
|
|
|
*/
|