menu refers to the return value of Menu:Create
Placeholder
menu:AddPlaceholder adds a placeholder component that shows a text.
Parameters
menu:AddPlaceholder(text)| Name | Type | Description | Required |
|---|---|---|---|
| text | string | The text of the component | Yes |
Example
client/example.lua
local menu--[[Menu]] = Menu:Create('Title', 'Description', 'top-right', '#fff');
local placeholder = menu:AddPlaceholder('Placeholder');