TheClashFruit's Docs

EditBox

An edit box for entering text.

Example

<EditBox id="config" width="300" height="200" placeholder="Enter you thoughts here..." />

Attributes

AttributeTypeDescription
position(int; int)The position of the edit box in the menu.
idstringThe id of the edit box.
width*intThe width of the edit box in pixels.
height*intThe height of the edit box in pixels.
placeholder*stringThe placeholder text for the edit box.
valuestring or action[^1]The default value of the edit box.

* Required.


[^1]: An action that inherits from ddg:editbox_value can be used to set the value of the edit box. The action must return a string.