Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
clarify that offset accepts positive numbers in the readme
  • Loading branch information
Superhands89 authored Feb 21, 2022
1 parent 6657a98 commit 3186552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ easyScrollDots({
'fixedNav': true, // Set to true if you have a fixed nav.
'fixedNavId': 'myNav', // Set to the id of your navigation element if 'fixedNav' is true (easyScrollDots will measure the height of the element).
'fixedNavUpward': true, // Set to true if your nav is only sticky when the user is scrolling up (requires 'fixedNav' to be true and 'fixedNavId' to be a value).
'offset': 30 // Set to the amount of pixels you wish to offset the scroll amount by.
'offset': 30 // Set to the amount of pixels you wish to offset the scroll amount by (any positive number).
});
```

Expand Down

0 comments on commit 3186552

Please sign in to comment.