Improve documentation formatting for Image and Tree elements
This commit is contained in:
@@ -4,9 +4,7 @@ local tHex = require("libraries/colorHex")
|
||||
---@configDescription An element that displays an image in bimg format
|
||||
---@configDefault false
|
||||
|
||||
--- This is the Image element class which can be used to display bimg formatted images.
|
||||
--- Bimg is a universal ComputerCraft image format.
|
||||
--- See: https://github.com/SkyTheCodeMaster/bimg
|
||||
--- This is the Image element class which can be used to display bimg formatted images. Bimg is a universal ComputerCraft image format. See: https://github.com/SkyTheCodeMaster/bimg
|
||||
---@class Image : VisualElement
|
||||
local Image = setmetatable({}, VisualElement)
|
||||
Image.__index = Image
|
||||
|
||||
@@ -17,7 +17,7 @@ local function flattenTree(nodes, expandedNodes, level, result)
|
||||
end
|
||||
|
||||
--- This is the tree class. It provides a hierarchical view of nodes that can be expanded and collapsed, with support for selection and scrolling.
|
||||
---run [[
|
||||
--- @run [[
|
||||
--- local basaltg = require("basalt")
|
||||
--- local main = basalt.getMainFrame()
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user