XLQP Gen1
ElementsCompatibility aliases

AddElementDropdown

This compatibility method behaves like AddDropdownPanel. Adds a titled panel that can open and close like a dropdown. It is kept so scripts written with the older AddElementDropdown name continue to work.

AddElementDropdown

Compatibility alias

AddElementDropdown is an alternate name for AddDropdownPanel. New code can use AddDropdownPanel.

What it does

This compatibility method behaves like AddDropdownPanel. Adds a titled panel that can open and close like a dropdown. It is kept so scripts written with the older AddElementDropdown name continue to work.

When to use it

Use it to hide secondary controls while preserving a clear summary header. Prefer AddDropdownPanel in new code so the method name matches the current API.

ElementFunction:AddElementDropdown(PanelConfig)

local Result = Section:AddElementDropdown({
    Name = "Example",
})

Behavior and return value

This alias forwards to AddDropdownPanel, so its options, callbacks, and returned value follow the canonical method.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.