Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
fix(readme): incorrect external onScroll example
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpa9708 committed Jan 15, 2019
1 parent 5f71a61 commit 71136d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ import scrollManager from "scroll-utility"

scrollManager.onScroll = (external) => {
if (external) {
console.log("this 'scroll-utility' scrolled")
} else {
console.log("external scroll") // ussualy the user via the mouse or keyboard, or some other script running in the browser
} else {
console.log("this 'scroll-utility' scrolled")
}
```
Expand Down

0 comments on commit 71136d6

Please sign in to comment.