-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert to using TS, ESM, eslint, vitest, prettier
also, refactor the API to be more consistent and predictable, and to better match existing patterns, e.g.: • the removeEventListener/cleanup function is returned by invoking onscrolling(), rather than being invoked as onscrolling.remove() • the event payload is now a consistent { scrollX: number; scrollY: number } object • onscrolling now has only a single function signature, and the scroll direction is specified via an optional options object as the 2nd argument (defaults to 'vertical')
- Loading branch information
Showing
20 changed files
with
3,239 additions
and
1,856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
dist |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.