WindUI

Popup

Creating Popup

Creating Popup

WindUI:Popup({
    Title = "Popup Title",
    Icon = "info",
    Content = "Popup content",
    Buttons = {
        {
            Title = "Cancel",
            Callback = function() end,
            Variant = "Tertiary",
        },
        {
            Title = "Continue",
            Icon = "arrow-right",
            Callback = function() end,
            Variant = "Primary",
        }
    }
})

API

PropTypeDefault
Buttons
table
{}
Content
string
Content
IconThemed?
boolean
false
Icon?
string
nil
Title
string
Popup

Button Options (inside Popup)

PropTypeDefault
Callback?
function
nil
Variant
string
Primary
Icon?
string
nil
Title
string
Button

On this page