All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
This completes the list of events that are initially planned to be added.
- Added window load events:
load,load.interactive, andload.complete.
- State is updated when any load event occurs. This will correctly handle images loading and changing the scrollHeight of a page.
- Added
updateStatemethod, which is useful when an event other than window resize causes the page's scroll position or scroll height to change.
- Added window visibility events:
visibilityChange,visibilityChange.hide,visibilityChange.show. - Added
percentScrolledandvisibleproperties togetDatareturn object
- Changed callback parameter of scroll events to be an object with
scrollTopandpercentScrolledproperties