1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:57:35 +00:00

Base: Move GML Widget documentation to subsubsection

This is not only convenient, but also a subsection testcase :^)
This commit is contained in:
kleines Filmröllchen 2022-12-14 17:24:11 +01:00 committed by Andrew Kaster
parent ad6cbc4192
commit 3df2eb66be
44 changed files with 43 additions and 43 deletions

View file

@ -0,0 +1,28 @@
## Name
GML Text Editor Widget
## Description
Defines a GUI text editor widget.
## Synopsis
`@GUI::TextEditor`
## Examples
```gml
@GUI::TextEditor {
name: "text_editor"
placeholder: "Text editor"
}
```
## Registered Properties
| Property | Type | Possible values | Description |
|-------------|--------|---------------------------------|-----------------|
| text | string | Any string | Set text |
| placeholder | string | Any string | Set placeholder |
| mode | enum | Editable, ReadOnly, DisplayOnly | Set editor mode |