Files
Robert Jelic d4c72514ef Docs 1.6
Accidentally uploaded outdated 1.6 docs
2023-05-01 16:28:46 +02:00

414 B

onDone

onDone(self, err)
This is a custom event which gets triggered as soon as the progress is done.

Here is a example on how to add a onDone event to your progressbar:

local basalt = require("basalt")

local main = basalt.createFrame()
local aProgressbar = main:addProgressbar()

local function onProgressDone()
    basalt.debug("Progress is done")
end

aProgressbar:onDone(onProgressDone)