Skip to content

Instantly share code, notes, and snippets.

@frederickjansen
frederickjansen / infiniteScrollReverse.js
Last active May 4, 2017 04:43
Reverse infinite scroll for Ionic
/**
* @ngdoc directive
* @name ionInfiniteScrollReverse
* @module ionic
* @parent ionic.directive:ionContent, ionic.directive:ionScroll
* @restrict E
*
* @description
* The ionInfiniteScrollReverse directive allows you to call a function whenever
* the user gets to the bottom of the page or near the bottom of the page.