mirror of
https://github.com/Insality/druid
synced 2025-09-27 10:02:19 +02:00
Add annotation to new_drag function
This commit is contained in:
@@ -449,6 +449,10 @@ function Druid.new_swipe(self, ...)
|
||||
end
|
||||
|
||||
|
||||
--- Create drag basic component
|
||||
-- @function druid:new_drag
|
||||
-- @tparam args ... drag init args
|
||||
-- @treturn Componetn drag component
|
||||
function Druid.new_drag(self, ...)
|
||||
return Druid.create(self, drag, ...)
|
||||
end
|
||||
|
Reference in New Issue
Block a user