start

-- ARGUMENTS
-- name:                   string
-- label:                  string
-- duration:               number
-- useWhileDead:           boolean
-- canCancel:              boolean
-- disableControls:        table
-- animation:              table
-- prop:                   table
-- propTwo:                table
-- onFinish:               function
-- onCancel:               function

-- RETURNS
-- nil

ti.progresBars.start(
  "myProgressBar",
  "Progress...",
  5000,
  false,
  false,
  {},
  false,
  false,
  false,
  function()
    print("Progress complete")
  end,
  function()
    print("Cancelled")
  end
end)

Last updated