Edit this page on Github

RefreshControl

A component for displaying a refresh control.

@Component({
  selector: 'sample',
  template: `<RefreshControl progressBackgroundColor="#ce0058" [colors]="['#00a9e0', '#309712']">
      <View></View>
    </RefreshControl>`
})
export class Sample {}

Available styles

https://facebook.github.io/react-native/docs/view.html#style
Android flavouriOS flavour

Inputs

Inherits all inputs from high level component

refreshing: boolean

To be documented

androidcolors: color

To be documented

androidenabled: boolean

To be documented

androidprogressBackgroundColor: color

To be documented

androidprogressViewOffset: number

To be documented

androidsize: any

To be documented

iostintColor: color

To be documented

iostitle: string

To be documented

Outputs

refresh: EventEmitter<any>

To be documented


Getting started

Features

bootstrapAPIsGesturesHttpRouterStyle

Components

ActivityIndicatorHighLevelComponentImagePickerRefreshControlScrollViewSliderSwitchTextTextInputViewWebView
Android
DrawerLayoutPagerLayoutProgressBarToolbar
iOS
DatePickerNavigatorProgressViewSegmentedControlTabBarTabBarItem

Directives

Opacity feedbackRipple feedback