Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
demo
18 changes: 18 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# CHANGELOG

## 2.0.0

* Changed package name from `numscroll` to `scroll-incr`
* Changed default trigger class from `numscroller` to `scroll-incr`
* Removed `scrollZip()` initialization code
* Removed all properties from `scrollZip()`, except the `showFunction`
* Renamed `scrollZip()` to `visibleOnViewport()`
* Now we don't prepend `<div id="scrollzipPoint"></div>` to the `body` to check element visiblity on view port
* Now we're using the `body` element to check element visibility on viewport instead of prepending #scrollzipPoint for that
* Added default values for data-props: `data-min: 0, data-duration: 4, data-increment: 1`
* Now once all `.scroll-incr` are incremented, `scroll-incr` removes its listeners from the `$(window)`
* Some other code and performance improvements

## 1.0.0

* First release
Loading