Permalink
Browse files

* Include min/max in events

  • Loading branch information...
1 parent 943acad commit eb5c79a5c8055f4a51c317a94dfd90bc0a567446 @joehewitt committed Apr 14, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 scrollability.js
View
@@ -203,6 +203,8 @@ function wrapAnimator(animator, startX, startY, startTime) {
if (!animator.mute) {
var event = {
position: position,
+ min: min,
+ max: max,
track: addTracker,
setSpacing: setSpacing,
setOffset: setOffset,
@@ -527,7 +529,7 @@ function wrapAnimator(animator, startX, startY, startTime) {
function update(pos) {
if (!dispatch("scrollability-scroll", node,
- {direction: animator.direction, position: pos})) {
+ {direction: animator.direction, position: pos, max: max, min: min})) {
return;
}

0 comments on commit eb5c79a

Please sign in to comment.