add 'sub-consumer' to textbox

This commit is contained in:
MihailRis
2024-10-27 21:04:32 +03:00
parent 868b69db90
commit 699d8ce2bb
6 changed files with 37 additions and 5 deletions
+1
View File
@@ -99,6 +99,7 @@ Inner text - initially entered text
- `placeholder` - placeholder text (used if the text field is empty)
- `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.
- `autoresize` - automatic change of element size (default - false). Does not affect font size.
- `multiline` - allows display of multiline text.
- `text-wrap` - allows automatic text wrapping (works only with multiline: "true")