Skip to content

TitleStack

A TitleStack is a vertical stack with title and subtitle label's that people can read, but not edit.

Summary

Properties

Property Type Description
Title string? The text content of the title label
Subtitle string? The text content of the subtitle label. Subtitle becomes non visible if left nil.

View all inherited from BaseComponent

View all inherited from Frame

Methods

View all inherited from Frame

Events

View all inherited from Frame

Types

type TitleStackProperties = Frame & {
    Title: string?,
    Subtitle: string?,
}

type TitleStack = BaseComponent & Components & TitleStackProperties

Function Signature

function(self, properties: TitleStackProperties): TitleStack

Example

local titleStack = row:Left():TitleStack({
    Title = "Toggle (Off)",
    Subtitle = "Lets people choose between a pair of opposing states, like on and off, using a different appearance to indicate each state.",
})

print(titleStack:IsA("Frame")) --> true
print(titleStack.ClassName) --> "Frame"
print(titleStack.Type) --> "TitleStack"