update doc/*/xml-ui-layouts.md

This commit is contained in:
MihailRis 2024-11-28 17:48:06 +03:00
parent ba1a82539f
commit ca83dcf9a7
2 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,7 @@ Inner text is a button text.
Inner text - initially entered text
- `placeholder` - placeholder text (used if the text field is empty)
- `hint` - text displayed if the text field is empty (not sent to consumer, sub-consumer and validator).
- `supplier` - text supplier (called every frame)
- `consumer` - lua function that receives the entered text. Called only when input is complete
- `sub-consumer` - lua function-receiver of the input text. Called during text input or deletion.

View File

@ -99,6 +99,7 @@
Внутренний текст - изначально введенный текст
- `placeholder` - текст подстановки (используется если текстовое поле пусто)
- `hint` - текст, отображаемый, если текстовое поле пусто (не отправляется в consumer, sub-consumer и validator).
- `supplier` - поставщик текста (вызывается каждый кадр)
- `consumer` - lua функция-приемник введенного текста. Вызывается только при завершении ввода
- `sub-consumer` - lua функция-приемник вводимого текста. Вызывается во время ввода или удаления текста.