XLQP Gen1
ElementsData & charts

CreateDownloadProgress

Creates a progress controller specialized for downloads and completion state.

CreateDownloadProgress

What it does

Creates a progress controller specialized for downloads and completion state.

When to use it

Use it to show a timed or externally updated download operation.

ElementFunction:CreateDownloadProgress(DownloadConfig)

local FakeDownload = LeftGroup:CreateDownloadProgress({
    Name = "Fake download",
    Description = "Animates smoothly from 0 to 100.",
    CurrentValue = 0,
    Duration = 5,
    Callback = function(value)
        print("download progress", value)
    end,
    Completed = function()
        Library:MakeToast({Title = "Download complete", Variant = "Success", Icon = "download", Time = 3})
    end
})

Behavior and return value

Store the returned controller or object when later code needs to update its state, call its methods, or close it.

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