-
Notifications
You must be signed in to change notification settings - Fork 0
Page
A page contains controls or info content. Pages appear as cards and detail views inside a category.
| Field | Type | Description |
|---|---|---|
id |
string | Stable page id. Required. |
category |
string | Parent category id. |
title |
string | Display title. |
description |
string | Page summary/about text. |
icon, iconAtlas, iconKey
|
string | Icon source. |
mainToggleID |
string | Control id used as main feature toggle. |
newTagID |
string | New badge tag. |
layout |
string | Use "info" for static content pages. |
content |
table | Info page content. |
blocks / infoBlocks
|
table | Alternate info content tables. blocks alone does not select info-page rendering. |
visible, isVisible, visibleWhen
|
boolean/function | Show gates. |
hidden, hiddenWhen
|
boolean/function | Hide gates. |
order |
number | Sort order. |
app:RegisterPage({
id = "interface.action-bars",
category = "interface",
title = "Action Bars",
description = "Configure action bar behavior.",
iconKey = "actionbar",
mainToggleID = "actionBarsEnabled",
order = 100,
})app:RegisterPage({
id = "help.quick-reference",
category = "help",
title = "Quick Reference",
layout = "info",
content = {
{
title = "Slash Commands",
entries = {
{ type = "command", commands = { "/myaddon" }, desc = "Open settings." },
},
},
},
})Wiki
• Home
• Architecture
• Vendoring
• Quick Start
• Field Glossary
• Troubleshooting
• Validation
Reference
⚬ Config API
⚬ UI API
⚬ Elements
⚬ Examples
Elements
Structure
• Category
• Page
• Group
• Dashboard
• InfoPage
• Custom
Controls
• Toggle
• CheckboxDropdown
• Dropdown
• MultiDropdown
• SoundDropdown
• Input
• Slider
• Button
Advanced
• ColorPicker
• ColorPalette
• ColorOverrides
• ReorderList
• Expandable
• Notes
Examples
Start
• Minimal Addon
• Complete Settings Center
• Wrapper Bridge Pattern
Data and Behavior
• Dependent Controls
• Nested Database Values
• Dynamic Dropdowns
• Runtime Refresh
• Search and New Badges
• Custom Hosted Editors
Polish
• Support Links
• Theme Colors
• Theme Borders