mirror of
https://github.com/Insality/druid.git
synced 2025-09-29 02:52:19 +02:00
Update
This commit is contained in:
10
docs_md/components/extended/timer_api.md
Normal file
10
docs_md/components/extended/timer_api.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# Timer Quick API reference
|
||||
|
||||
```lua
|
||||
timer:init(node, [seconds_from], [seconds_to], [callback])
|
||||
timer:on_layout_change()
|
||||
timer:set_interval(from, to)
|
||||
timer:set_state([is_on])
|
||||
timer:set_to(set_to)
|
||||
timer:update(dt)
|
||||
```
|
Reference in New Issue
Block a user