Docs changes

This commit is contained in:
Robert Jelic
2025-02-24 23:54:07 +01:00
parent a98475a442
commit a3cc685620
21 changed files with 188 additions and 133 deletions

View File

@@ -10,7 +10,7 @@ Frame.__index = Frame
--- Creates a new Frame instance
--- @shortDescription Creates a new Frame instance
--- @return Frame self The newly created Frame instance
--- @usage local frame = Frame.new()
--- @private
function Frame.new()
local self = setmetatable({}, Frame):__init()
self.set("width", 12)
@@ -20,11 +20,11 @@ function Frame.new()
return self
end
--- Initializes the Frame instance
--- @shortDescription Initializes the Frame instance
--- @param props table The properties to initialize the element with
--- @param basalt table The basalt instance
--- @return Frame self The initialized instance
--- @protected
function Frame:init(props, basalt)
Container.init(self, props, basalt)
self.set("type", "Frame")