-
Notifications
You must be signed in to change notification settings - Fork 16
/
nginfinitescroll.angular.txt
23 lines (18 loc) · 1.95 KB
/
nginfinitescroll.angular.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
NGINFINITESCROLL
VERSION ==> #1.2.0
#Infinite scrolling
#If using SELECTOR, depends on jQuery
#MODULE "infinite-scroll"
infinite-scroll="MAIN_EXPR"
infinite-scroll=
"ELEM|SELECTOR_EXPR" #Calls MAIN_EXPR each time scrolling is below PARENT.offsetHeight * NUM (def: 0) pixels of
infinite-scroll-distance= #the bottom of PARENT.
"DOUBLE_EXPR" #PARENT is either ELEM|SELECTOR or the parent element with directive infinite-scroll-parent
infinite-scroll-disabled=
"BOOL_EXPR" #Disables. Should be set temporarily to true by MAIN_EXPR.
infinite-scroll-immediate-check #If true, check if at bottom at page load: to use if content might be smaller than
="BOOL_EXPR" #page height.
infinite-scroll-listen-for-event=
"EVENT" #Calls MAIN_EXPR when $rootScope fires EVENT