Preview 2.0 is now in Public Beta!
Read the Announcement
TabView

Summary

Constructors

constructor

Properties

android
androidIconRenderingMode
androidOffscreenTabLimit
androidSelectedTabHighlightColor
androidSwipeEnabled
androidTabsPosition
ios
iosIconRenderingMode
items
selectedIndex
selectedIndexChangedEvent
selectedTabTextColor
tabBackgroundColor
tabTextColor
tabTextFontSize
162 properties inherited from View
Click to expand

Methods

on
125 methods inherited from View
Click to expand

Constructors

constructor

new TabView(): TabView

Properties

android

androidIconRenderingMode

androidIconRenderingMode: "alwaysOriginal" | "alwaysTemplate"

androidOffscreenTabLimit

androidOffscreenTabLimit: number

androidSelectedTabHighlightColor

androidSelectedTabHighlightColor: Color

androidSwipeEnabled

androidSwipeEnabled: boolean

androidTabsPosition

androidTabsPosition: "top" | "bottom"

iosIconRenderingMode

iosIconRenderingMode: "automatic" | "alwaysOriginal" | "alwaysTemplate"

selectedIndex

selectedIndex: number

selectedTabTextColor

selectedTabTextColor: Color

tabBackgroundColor

tabTextColor

tabTextFontSize

tabTextFontSize: number

selectedIndexChangedEvent

Static
selectedIndexChangedEvent: string

Methods

on

on(eventNames: string, callback: (data: EventData) => void, thisArg?: any): any
Parameter Default Description
eventNames
string

callback
(data: EventData) => void

thisArg
any

Returns any
on(
  event: "selectedIndexChanged",
  callback: (args: SelectedIndexChangedEventData) => void,
  thisArg?: any
): any
Parameter Default Description
event
"selectedIndexChanged"

callback
(args: SelectedIndexChangedEventData) => void

thisArg
any

Returns any
Previous
Switch