Skip to content

ExpansionPanel:addLine

since 1.5.4

Add a new line to the expansion panel.

local line = panel:addLine(label[, separator])

Parameters

Name Type Required Description
label string yes the line label
separator boolean optional (default true) separator after the line

Returns

line (FormLine)

Examples

From the official Ethos documentation
panel:addLine("Label")
panel:addLine("Label", false) -- no separator