forked from nstudio/nativescript-pulltorefresh
-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.d.ts
31 lines (26 loc) · 970 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { ContentView } from '@nativescript/core';
/**
* Contains the PullToRefresh class, which represents a Layout that contains the UI pattern for pull-to-refresh
*/
export class PullToRefresh extends ContentView {
/**
* String value used when hooking to the onRefresh event.
*/
public static refreshEvent: string;
/**
* Gets the native [android widget](http://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout.html) that represents the user interface for this component. Valid only when running on Android OS.
*/
android: any /* android.support.v4.widget.SwipeRefreshLayout */;
/**
* Because of iOS specific this returns the basic UIView. In order to access UIRefreshControl use the refreshControl property!
*/
ios: any;
/**
* Returns the native iOS UIRefreshControl
*/
refreshControl?: any; /// UIRefreshControl
/*
* Gets or sets if the view is refreshing
*/
refreshing: boolean;
}