Example
-- Note: This is just a snippet
Window:Toggle("Toggle: off", false, function(State, Func)
print("Toggle:", State)
Func.State = State and "Toggle: on" or "Toggle: off"
end)-- Note: This is just a snippet
Window:Toggle({
Text = "Toggle: off",
Callback = function(State, Func)
print("Toggle:", State)
Func.State = State and "Toggle: on" or "Toggle: off"
end
})Last updated