Skip to Content

Tab

Describes a single tab in an TabView. Contains the tab’s label and the content element displayed when the tab is active.

Constructor

Tab

Creates an Tab.

ParameterDescription
labelThe text label for the tab header. Must not be null.
contentThe element rendered when this tab is active. Must not be null.

Properties

Content

The element rendered when this tab is selected.

Label

The text label displayed in the tab bar.

Last updated on