#69 Fix annotations in button component

This commit is contained in:
Insality
2020-05-24 22:56:53 +03:00
parent d3a56f717e
commit 474b97469e
3 changed files with 14 additions and 8 deletions

View File

@@ -282,7 +282,7 @@ end
-- Pass nil to make input field unliminted (by default)
-- @function input:set_max_length
-- @tparam number max_length Maximum length for input text field
-- @treturn druid.input Self instance to make chain calls
-- @treturn druid.input Current input instance
function M.set_max_length(self, max_length)
self.max_length = max_length
return self
@@ -294,7 +294,7 @@ end
-- ex: [%a%d] for alpha and numeric
-- @function input:set_allowerd_characters
-- @tparam string characters Regulax exp. for validate user input
-- @treturn druid.input Self instance to make chain calls
-- @treturn druid.input Current input instance
function M.set_allowed_characters(self, characters)
self.allowed_characters = characters
return self