Components
Placeholder

menu refers to the return value of Menu:Create

Placeholder

menu:AddPlaceholder adds a placeholder component that shows a text.

Parameters

menu:AddPlaceholder(text)
NameTypeDescriptionRequired
textstringThe text of the componentYes

Example

client/example.lua
local menu--[[Menu]] = Menu:Create('Title', 'Description', 'top-right', '#fff');
 
local placeholder = menu:AddPlaceholder('Placeholder');