update doc/*/scripting/ui.md
This commit is contained in:
parent
c6951e0965
commit
432dc386ea
@ -56,6 +56,7 @@ Common element methods:
|
|||||||
| ------------------- | ----------------------------------------------------------------------------------- |
|
| ------------------- | ----------------------------------------------------------------------------------- |
|
||||||
| moveInto(container) | moves the element to the specified container (the element is specified, not the id) |
|
| moveInto(container) | moves the element to the specified container (the element is specified, not the id) |
|
||||||
| destruct() | removes element |
|
| destruct() | removes element |
|
||||||
|
| reposition() | updates the element position based on the `positionfunc` |
|
||||||
|
|
||||||
## Containers
|
## Containers
|
||||||
|
|
||||||
|
|||||||
@ -56,6 +56,7 @@ document["worlds-panel"]:clear()
|
|||||||
| ------------------- | ----------------------------------------------------------------------- |
|
| ------------------- | ----------------------------------------------------------------------- |
|
||||||
| moveInto(container) | перемещает элемент в указанный контейнер (указывается элемент, а не id) |
|
| moveInto(container) | перемещает элемент в указанный контейнер (указывается элемент, а не id) |
|
||||||
| destruct() | удаляет элемент |
|
| destruct() | удаляет элемент |
|
||||||
|
| reposition() | обновляет позицию элемента на основе функции позиционирования |
|
||||||
|
|
||||||
## Контейнеры
|
## Контейнеры
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user