AddFlip
This compatibility method behaves like CreateFlipButton. Creates a two-sided button that flips between front and back content. It is kept so scripts written with the older AddFlip name continue to work.
AddFlip
Compatibility alias
AddFlip is an alternate name for CreateFlipButton. New code can use CreateFlipButton.
What it does
This compatibility method behaves like CreateFlipButton. Creates a two-sided button that flips between front and back content. It is kept so scripts written with the older AddFlip name continue to work.
When to use it
Use it for reveal interactions or controls with two related faces. Prefer CreateFlipButton in new code so the method name matches the current API.
ElementFunction:AddFlip(FlipConfig)
local Result = Section:AddFlip({
Callback = function(value)
print(value)
end,
})Behavior and return value
This alias forwards to CreateFlipButton, 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.
Related reference
AddFAQ
This compatibility method behaves like CreateFAQ. Creates an accordion-style list of questions and answers. It is kept so scripts written with the older AddFAQ name continue to work.
AddFlipButton
This compatibility method behaves like CreateFlipButton. Creates a two-sided button that flips between front and back content. It is kept so scripts written with the older AddFlipButton name continue to work.