XLQP Gen1
ElementsCompatibility aliases

AddRippleButton

This compatibility method behaves like CreateRippleButton. Creates a button with a ripple press effect. It is kept so scripts written with the older AddRippleButton name continue to work.

AddRippleButton

Compatibility alias

AddRippleButton is an alternate name for CreateRippleButton. New code can use CreateRippleButton.

What it does

This compatibility method behaves like CreateRippleButton. Creates a button with a ripple press effect. It is kept so scripts written with the older AddRippleButton name continue to work.

When to use it

Use it for primary actions that benefit from clear animated click feedback. Prefer CreateRippleButton in new code so the method name matches the current API.

ElementFunction:AddRippleButton(RippleConfig)

local Result = Section:AddRippleButton({
    Name = "Example",
    Callback = function(value)
        print(value)
    end,
})

Behavior and return value

This alias forwards to CreateRippleButton, 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.