//Spheroid Script/spheroid.client.ui/TextField
TextField
See also TextField in UI Guide
class TextField : VisibleField, TextProperties, BorderProperties, Placeable
Constructors
Name | Summary |
---|---|
<init> | fun <init>(backgroundColor: Color?, padding: Size?, tintColor: Color?, isEmail: Boolean?, isSecure: Boolean?, placeholder: String?, placeholderColor: Color?, value: String?, name: String?, textSize: Size?, textColor: Color?, fontWeight: String?, left: Size?, top: Size?, right: Size?, bottom: Size?, width: Size?, height: Size?, horizontalAlign: String?, verticalAlign: String?, isVisible: Boolean?) |
Functions
Name | Summary |
---|---|
onFocusChange | fun onFocusChange(callback: (Boolean) -> Unit) |
onValueChange | fun onValueChange(callback: () -> Unit) |
toString | fun toString(): String |
Properties
Name | Summary |
---|---|
backgroundColor | var backgroundColor: Color? |
borderColor | var borderColor: Color? |
borderWidth | var borderWidth: Size? |
bottom | var bottom: Size? |
cornerRadius | var cornerRadius: Size? |
fontWeight | Available values: “normal”, “bold”, “black” var fontWeight: String? |
height | var height: Size? |
horizontalAlign | Available values: “left”, “center”, “right” var horizontalAlign: String? |
isEmail | var isEmail: Boolean? |
isSecure | var isSecure: Boolean? |
isVisible | var isVisible: Boolean? |
left | var left: Size? |
name | var name: String? |
padding | var padding: Size? |
placeholder | var placeholder: String? |
placeholderColor | var placeholderColor: Color? |
right | var right: Size? |
textAlign | Available values: “left”, “center”, “right” var textAlign: String? |
textColor | var textColor: Color? |
textSize | var textSize: Size? |
tintColor | var tintColor: Color? |
top | var top: Size? |
value | var value: String? |
verticalAlign | Available values: “top”, “center”, “bottom” var verticalAlign: String? |
width | var width: Size? |