From 9bd6cb14a391973e38bbdde617bc510e2c2067f2 Mon Sep 17 00:00:00 2001 From: djangosdk Date: Sun, 8 Feb 2015 13:06:13 +0500 Subject: [PATCH] Update jquery.slimscroll.js publish ```slimscrollEnd``` event , useful in cases where user wants to know if scrolling was stopped and want to check visible elements in viewport --- jquery.slimscroll.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jquery.slimscroll.js b/jquery.slimscroll.js index 190368e..dd3af20 100644 --- a/jquery.slimscroll.js +++ b/jquery.slimscroll.js @@ -412,6 +412,9 @@ getBarHeight(); clearTimeout(queueHide); + //publish slimscrollEnd event + me.trigger('slimscrollEnd', percentScroll); + // when bar reached top or bottom if (percentScroll == ~~percentScroll) {