Created
October 31, 2020 18:05
-
-
Save kemayo/1821a9d608ea0954b7edfaf7a63a9886 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local options = { | |
type = "group", | |
name = "Testing of toggle", | |
get = function(info) return true end, | |
set = function(info, value) end, | |
args = {}, | |
} | |
for i=1,1000 do | |
options.args["toggle" .. i] = { | |
type = "toggle", | |
name = "Toggle #" .. i, | |
width = "full", | |
} | |
end | |
LibStub("AceConfigRegistry-3.0"):RegisterOptionsTable("ToggleTest", options) | |
LibStub("AceConfigDialog-3.0"):AddToBlizOptions("ToggleTest", "ToggleTest") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment