Edit this page on Github

iosSegmentedControl

A component for displaying a segmented control.

 @Component({
  selector: 'sample',
  template: `<SegmentedControl [values]="['One', 'Two','Three']" tintColor="#ce0058"></SegmentedControl>`
})
 export class Sample {}

Available styles

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

Inputs

Inherits all inputs from high level component

enabled: boolean

To be documented

momentary: boolean

To be documented

selectedIndex: number

To be documented

tintColor: color

To be documented

values: Array<string>

To be documented

Outputs

change: EventEmitter<any>

To be documented Emitted value example: {value: "One", selectedIndex: 0}


Getting started

Features

bootstrapAPIsGesturesHttpRouterStyle

Components

ActivityIndicatorHighLevelComponentImagePickerRefreshControlScrollViewSliderSwitchTextTextInputViewWebView
Android
DrawerLayoutPagerLayoutProgressBarToolbar
iOS
DatePickerNavigatorProgressViewSegmentedControlTabBarTabBarItem

Directives

Opacity feedbackRipple feedback