Tab
Extends Composite
A container representing a single tab of a TabFolder widget.
Import this type with “const {Tab} = require('tabris');
”
Properties
badge
iOS
Type: string
A badge to attach to the tab.
image
iOSAndroid
Type: Image
An image to be displayed on the tab. Will not be shown on iOS if the TabFolder
’s tabBarLocation
is set to top
selectedImage
iOSAndroid
Type: Image
An image to be displayed on the currently active tab.
title
Type: string
The title to be displayed on the tab.
Events
badgeChanged
Fired when the badge property has changed.
Event Parameters
target: this The widget the event was fired on.
value: string The new value of badge.
imageChanged
Fired when the image property has changed.
Event Parameters
target: this The widget the event was fired on.
value: Image The new value of image.
selectedImageChanged
Fired when the selectedImage property has changed.
Event Parameters
target: this The widget the event was fired on.
value: Image The new value of selectedImage.
titleChanged
Fired when the title property has changed.
Event Parameters
target: this The widget the event was fired on.
value: string The new value of title.