//Spheroid Script/spheroid.client.ui/Button
Button
See also Button in UI Guide
Constructors
Name | Summary |
---|---|
<init> | fun <init>(text: String?, backgroundColor: Color?, textAlign: String?, cornerRadius: Size?, left: Size?, top: Size?, right: Size?, bottom: Size?, width: Size?, height: Size?, horizontalAlign: String?, verticalAlign: String?, isVisible: Boolean?) |
Functions
Name | Summary |
---|---|
onClick | fun onClick(callback: () -> Unit) |
toString | fun toString(): String |
Properties
Name | Summary |
---|---|
backgroundColor | var backgroundColor: Color? |
bottom | var bottom: Size? |
cornerRadius | var cornerRadius: Size? |
height | var height: Size? |
horizontalAlign | Available values: “left”, “center”, “right” var horizontalAlign: String? |
isVisible | var isVisible: Boolean? |
left | var left: Size? |
right | var right: Size? |
text | var text: String? |
textAlign | Available values: “left”, “center”, “right” var textAlign: String? |
top | var top: Size? |
verticalAlign | Available values: “top”, “center”, “bottom” var verticalAlign: String? |
width | var width: Size? |