Update documentation

This commit is contained in:
Insality
2020-03-28 23:10:30 +03:00
parent d24107550a
commit 9dd3a029ad
4 changed files with 144 additions and 21 deletions

View File

@@ -67,7 +67,7 @@ end
--- Component init function
-- @function text:init
-- @tparam node node Gui text node
-- @tparam[opt] string value Initial text
-- @tparam[opt] string value Initial text. Default value is node text from GUI scene.
-- @tparam[opt] bool no_adjust If true, text will be not auto-adjust size
function M.init(self, node, value, no_adjust)
self.node = self:get_node(node)