Members
(static) pullRefreshBannerTemplate
Properties:
Type | Description |
---|---|
external:Simplate |
(static) pullRefreshTemplate
Properties:
Type | Description |
---|---|
Simplate |
(static) pullReleaseTemplate
Properties:
Type | Description |
---|---|
Simplate |
dragNode
Properties:
Type | Description |
---|---|
DOMNode |
enablePullToRefresh
Properties:
Name | Type | Description |
---|---|---|
enablePullToRefresh |
Boolean | If true, will enable the user to drag down and refresh the list. Default is true. |
pullRefreshBanner
Properties:
Type | Description |
---|---|
DOMNode |
pullRefreshText
Properties:
Name | Type | Description |
---|---|---|
Text |
String | to indicate a pull to refresh |
pullReleaseText
Properties:
Name | Type | Description |
---|---|---|
Text |
String | to indicate the user should release to cause the refresh |
scrollerNode
Properties:
Type | Description |
---|---|
DOMNode |
Methods
initPullToRefresh(scrollerNode, dragNode)
Parameters:
Name | Type | Description |
---|---|---|
scrollerNode |
DOMNode | The node that scrolls and should be pulled on to refresh. |
dragNode |
DOMNode | The node that the user will drag. Defaults to scrollerNode if not specified. |
onPullToRefreshCancel()
Fires when the pull to refresh is canceled.
onPullToRefreshComplete()
Fires when the pull to refresh is successful.
shouldStartPullToRefresh(scrollerNode) → {Boolean}
Derived class must implement this to determine when pull to refresh should start. This is called when onTouchStart is fired.
Parameters:
Name | Type | Description |
---|---|---|
scrollerNode |
DOMNode | Reference to the scoller node |
Returns:
- Type
- Boolean