mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
feat: it's not breaking change if it never worked
This commit is contained in:
parent
63f2751910
commit
fe69d31f97
3 changed files with 6 additions and 5 deletions
|
|
@ -140,12 +140,12 @@ gui.confirm(
|
|||
## Документы и шаблоны
|
||||
|
||||
```lua
|
||||
-- Загружает UI документ и его скрипт. Возвращает имя документа.
|
||||
-- Загружает UI документ и его скрипт. Возвращает пространство имён документа
|
||||
gui.load_document(
|
||||
path: string, -- путь к xml файлу, например: core:layouts/pages/main.xml
|
||||
name: string, -- id документа, например: core:pages/main
|
||||
args: table -- параметры для события on_open
|
||||
) -> string
|
||||
) -> table
|
||||
|
||||
-- Обрабатывает xml шаблон макета из файла
|
||||
gui.template(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue