- Add module exports (#46)
- Support passing events to
before-snap
andafter-snap
callbacks - Support disabling wheel and trackpad events with
disable-wheel-binding
- Support ignoring wheel events from specified elements with
ignore-wheel-class
- On trackpads with high sensitivity (e.g. Macs), swiping once does not lead to
a double snap anymore (thanks https://github.com/reco). There's a 1 second delay
that prevents the next snap, which can be changed (or disabled) with
prevent-double-snap-delay
- Do not translate left/right scroll to up/down scroll (#37)
- Dependency on angular-scrollie
before-snap
andafter-snap
are now only called if snapIndex changes
- Support overriding the next snapIndex by returning a number from
before-snap
- Support disabling/enabling snapscroll programmatically
- Support child elements whose height is greater than the snapscroll element
- Support for arrow keys using
enable-arrow-keys
snap-index
is not initialized if the element is not scrollable- Ensure snapscroll never tries to set scrollTop to a value that is out of bounds
- Dependency on angular-wheelie
- Support children elements (slides) of unequal heights, but have to be smaller or equal to the snapscroll element
snap-height
is now an opt-in feature- If
overflow-y
on the snapscroll element is set toscroll
, then it is not changed toauto
- Change angular dep version to the lowest supported version (
1.2.24
)
- Support for installation with npm
- Fix wheel event when jQuery is also included on the page