mirror of
https://github.com/Insality/druid.git
synced 2025-09-28 18:42:19 +02:00
Update
This commit is contained in:
14
docs_md/components/base/drag_api.md
Normal file
14
docs_md/components/base/drag_api.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Drag Quick API reference
|
||||
|
||||
```lua
|
||||
drag:init(node_or_node_id, on_drag_callback)
|
||||
drag:is_enabled()
|
||||
drag:on_input([action_id], [action])
|
||||
drag:on_input_interrupt()
|
||||
drag:on_late_init()
|
||||
drag:on_style_change(style)
|
||||
drag:on_window_resized()
|
||||
drag:set_click_zone([node])
|
||||
drag:set_drag_cursors([is_enabled])
|
||||
drag:set_enabled([is_enabled])
|
||||
```
|
Reference in New Issue
Block a user