mirror of
https://github.com/Insality/druid.git
synced 2025-09-28 02:22:18 +02:00
Add example docs for LDoc
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
--- Component to handle placing components by row and columns.
|
||||
-- Grid can anchor your elements, get content size and other
|
||||
-- @module base.grid
|
||||
|
||||
local helper = require("druid.helper")
|
||||
|
||||
local M = {}
|
||||
|
||||
--- Sort and placing nodes
|
||||
-- Plans: placing by max width, placing with max in_row
|
||||
-- Allow different node sizes, allow animation with node insert
|
||||
|
||||
|
||||
function M.init(self, parent, element, in_row)
|
||||
self.parent = helper.get_node(parent)
|
||||
@@ -111,4 +111,4 @@ function M.clear(self)
|
||||
end
|
||||
|
||||
|
||||
return M
|
||||
return M
|
||||
|
Reference in New Issue
Block a user