mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update doc/*/scripting/ui.md
This commit is contained in:
parent
3b4d5ebfc7
commit
c30ce8affb
2 changed files with 7 additions and 5 deletions
|
|
@ -75,6 +75,7 @@ Common methods:
|
|||
| ------------------------------- | -------------------------------------------------------------------------------------------- |
|
||||
| clear() | clears content |
|
||||
| add(xml) | adds an element, creating it using xml code. Example: `container:add("<image src='test'/>")` |
|
||||
| add(xml, data) | overload with table, which in events declared in xml will be available as DATA |
|
||||
| setInterval(interval, callback) | assigns a function to be executed repeatedly at an interval specified in milliseconds |
|
||||
|
||||
## Textbox
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue