mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 10:02:18 +02:00
Update button docs
This commit is contained in:
@@ -1 +0,0 @@
|
||||
# Druid Button API Reference
|
16
docs_md/components/button_api.md
Normal file
16
docs_md/components/button_api.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Button Quick API reference
|
||||
|
||||
```lua
|
||||
button:get_key_trigger()
|
||||
button:init(node_or_node_id, [callback], [custom_args], [anim_node])
|
||||
button:is_enabled()
|
||||
button:on_input([action_id], [action])
|
||||
button:on_input_interrupt()
|
||||
button:on_late_init()
|
||||
button:on_style_change(style)
|
||||
button:set_check_function([check_function], [failure_callback])
|
||||
button:set_click_zone([zone])
|
||||
button:set_enabled([state])
|
||||
button:set_key_trigger(key)
|
||||
button:set_web_user_interaction([is_web_mode])
|
||||
```
|
0
docs_md/components/button_manual.md
Normal file
0
docs_md/components/button_manual.md
Normal file
Reference in New Issue
Block a user