mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update doc/*/xml-ui-layouts.md
This commit is contained in:
parent
ba1a82539f
commit
ca83dcf9a7
2 changed files with 2 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@
|
|||
Внутренний текст - изначально введенный текст
|
||||
|
||||
- `placeholder` - текст подстановки (используется если текстовое поле пусто)
|
||||
- `hint` - текст, отображаемый, если текстовое поле пусто (не отправляется в consumer, sub-consumer и validator).
|
||||
- `supplier` - поставщик текста (вызывается каждый кадр)
|
||||
- `consumer` - lua функция-приемник введенного текста. Вызывается только при завершении ввода
|
||||
- `sub-consumer` - lua функция-приемник вводимого текста. Вызывается во время ввода или удаления текста.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue