LuaLS Test

This commit is contained in:
Robert Jelic
2025-02-10 16:56:46 +01:00
parent bacbb07187
commit ebed9529bc

View File

@@ -5,6 +5,7 @@ local getCenteredPosition = require("libraries/utils").getCenteredPosition
local Button = setmetatable({}, VisualElement)
Button.__index = Button
---@property text string Button Button text
Button.defineProperty(Button, "text", {default = "Button", type = "string"})
---@event mouse_click The event that is triggered when the button is clicked