Prompting a dialog

Window:Dialog({
    Title <string>
    Description <string>
    Buttons <table: <...table: Name, Callback>>
})

Functions

:UpdateTitle(<string>)
:UpdateDescription(<string>)
:Cancel()

Example

Window:Dialog({
    Title = "Kuzu Hub",
    Description = "Are you sure? This is not reversable and can get you banned in some up to date servers.",
    Buttons = {
        {
            Name = "Confirm",
            Callback = function()
            	print("Confirmed!")
            end,
        },
        {
            Name = "Cancel"
        }
    }
})

Last updated

Was this helpful?