Skip to content

Register DataText Panel

DataText API

Registers a custom panel that can host one or more ElvUI DataText slots.

NamespaceDTModuleDataTextsLifecyclestable
DT:RegisterPanel(panel, numPoints, anchor, xOff, yOff, vertical)

Registers a custom panel that can host one or more ElvUI DataText slots.

panel: Frame with a name. numPoints: Number of DataText slots. anchor/xOff/yOff: Tooltip anchor details. vertical: Layout slots vertically.

None.

DT:RegisterPanel(MyPanel, 2, "ANCHOR_TOP", 0, 4)

Useful for addon layouts that want to host ElvUI DataTexts in custom frames.

Source: ElvUI/Game/Shared/Modules/DataTexts/DataTexts.lua:394