Docs changes
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user