-
Notifications
You must be signed in to change notification settings - Fork 20
Header
remosito edited this page Jun 7, 2022
·
7 revisions
The header control is used to separate sections of your settings menu. It shows text formatted as a header with a divider above.
property | type | required | description |
---|---|---|---|
type | string | yes | The widget type of this control ("header") |
name | number, string, function | yes | The text to display for the header |
width | string | no | "full" or "half" width in the panel |
helpUrl | string, function | no | A string URL "https://www.esoui.com", or a function that returns one |
reference | string | no | A unique global reference to the control |
tooltip | number, string, function | no | The tooltip to display for the Header |
This method updates the name of the header with changes in its data table.
LAM:RegisterOptionControls(panelName, {
{
type = "header",
name = "My Header",
reference = "MyAddonHeader"
}
})
local controls = {}
controls[#controls + 1] = {
type = "header",
name = "My Other Header",
width = "half"
}
LAM:RegisterOptionControls(panelName, controls)
General
Home
Differences between v1.0 and v2.0
Getting started
LAM2 for the Experienced Author
Reference
Exposed Methods on LAM2
LAM2 callbacks
Details on LAM2 data tables
LAM2 control widgets
Resources
Addons using LAM2
External controls
DatePicker widget
OrderListBox widget
SoundSlider widget
DualListBox widget
MultiSelectDropdown widget