From dad7cd91b606026cdbbc02e0a4be1cbbd0334594 Mon Sep 17 00:00:00 2001 From: Insality Date: Mon, 4 May 2020 00:58:38 +0300 Subject: [PATCH] Add annotation to new_drag function --- druid/system/druid_instance.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/druid/system/druid_instance.lua b/druid/system/druid_instance.lua index d1b3fa7..bd02e44 100644 --- a/druid/system/druid_instance.lua +++ b/druid/system/druid_instance.lua @@ -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