Tabs
A tabbed interface for organizing content.
Properties
| Property | Type | Default |
|---|---|---|
Name | string | "UITabs" |
AbsoluteSize | any | nil |
AbsolutePosition | any | nil |
Size | UDim2 | UDim2.new(0, 240, 0, 40) |
Tabs | table | { "Tab 1", "Tab 2", "Tab 3" } |
ActiveIndex | number | 1 |
ActiveTab | string | "Tab 1" |
TextSize | number | 16 |
Font | EnumItem | Enum.Font.DefaultEngineFont |
BackgroundTransparency | number | 0 |
BackgroundColor3 | Color3 | Color3.new(0.15, 0.15, 0.15) |
ActiveColor3 | Color3 | Color3.new(0.02, 0.5, 1) |
TextColor3 | Color3 | Color3.new(1, 1, 1) |
OnTabChanged | any | nil |
Visible | boolean | true |
Functions
sanitizeTabs
Arguments
tabsReturns
This function returns nothing.
resolveFont
Arguments
fontEnumReturns
This function returns nothing.
onTabChange
Arguments
index, tabReturns
This function returns nothing.
API
instance:sanitizeTabs(tabs)
instance:resolveFont(fontEnum)
instance:onTabChange(index, tab)