Add annotation to new_drag function

This commit is contained in:
Insality 2020-05-04 00:58:38 +03:00
parent 9195201b9c
commit dad7cd91b6

View File

@ -449,6 +449,10 @@ function Druid.new_swipe(self, ...)
end end
--- Create drag basic component
-- @function druid:new_drag
-- @tparam args ... drag init args
-- @treturn Componetn drag component
function Druid.new_drag(self, ...) function Druid.new_drag(self, ...)
return Druid.create(self, drag, ...) return Druid.create(self, drag, ...)
end end