Skip to content

Commit

Permalink
Add disableScroll to types (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner authored Aug 19, 2019
1 parent dbb5578 commit 44683c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/types/tour.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ declare namespace Tour {
*/
defaultStepOptions?: Step.StepOptions;

/**
* When set to true, will keep the user from scrolling with the scrollbar,
* mousewheel, arrow keys, etc. You may want to use this to ensure you are driving the scroll position with the tour.
*/
disableScroll?: boolean;

/**
* Exiting the tour with the escape key will be enabled unless this is explicitly
* set to false.
Expand Down

0 comments on commit 44683c3

Please sign in to comment.