Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed duplicate identifier preventScrollOnTouch #792

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/tiny-slider.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,7 @@ export interface TinySliderSettings extends CommonOptions {
* Prevent next transition while slider is transforming.
* @defaultValue false
*/
preventActionWhenRunning?: boolean
/**
* Prevent page from scrolling on touchmove. If set to "auto", the slider will first check if the touch direction matches the slider axis, then decide whether prevent the page scrolling or not. If set to "force", the slider will always prevent the page scrolling.
* @defaultValue false
*/
preventScrollOnTouch?: "auto" | "force" | false;
preventActionWhenRunning?: boolean;
/**
* Difine the relationship between nested sliders.
* Make sure you run the inner slider first, otherwise the height of the inner slider container will be wrong.
Expand Down