diff --git a/doc/en/scripting/ui.md b/doc/en/scripting/ui.md index c649fadc..66315f29 100644 --- a/doc/en/scripting/ui.md +++ b/doc/en/scripting/ui.md @@ -195,6 +195,11 @@ Here, *color* can be specified in the following ways: | data:set_data(data: table) | replaces pixel data (width * height * 4 numbers) | | data:create_texture(name: str) | creates and shares texture to renderer | +## Inline frame (iframe) + +| Name | Type | Read | Write | Description | +|----------|--------|------|-------|-----------------------------| +| src | string | yes | yes | id of the embedded document | ## Inventory diff --git a/doc/ru/scripting/ui.md b/doc/ru/scripting/ui.md index 918b77af..cdc7a9bd 100644 --- a/doc/ru/scripting/ui.md +++ b/doc/ru/scripting/ui.md @@ -196,11 +196,17 @@ document["worlds-panel"]:clear() | data:set_data(data: table) | заменяет данные пикселей (ширина * высота * 4 чисел) | | data:create_texture(name: str) | создаёт и делится текстурой с рендерером | -## Inventory (inventory) +## Рамка встраивания (iframe) + +| Название | Тип | Чтение | Запись | Описание | +|----------|--------|--------|--------|----------------------------| +| src | string | да | да | id встраиваемого документа | + +## Инвентарь (inventory) Свойства: | Название | Тип | Чтение | Запись | Описание | -| --------- | --- | ------ | ------ | ----------------------------------------- | +|-----------|-----|--------|--------|-------------------------------------------| | inventory | int | да | да | id инвентаря, к которому привязан элемент |