User Interface
User Interface (UI) refers to the visual and interactive elements of a digital system or application that enable users to interact with and control it.
About the component
- Last Update 25 Oct, 2023
- Component Version : 2.0.0
- API 21, Android 5.0 Lollipop
- 21 Blocks Available
This component represents a spinner, allowing users to select a single item from a dropdown list.
Overview
A spinner component that displays a pop-up with a list of elements and allows users to select the item from the list.
Events
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | selection | text | - |
Methods
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | left | Integer | 0 |
2 | right | Integer | 0 |
3 | top | Integer | 0 |
4 | bottom | Integer | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | left | Integer | 0 |
2 | right | Integer | 0 |
3 | top | Integer | 0 |
4 | bottom | Integer | 0 |
Properties
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set ElementsFromString | text | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Elements | array | - |
2 | set Elements | array | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get height | Integer | -1 |
2 | set Height | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Width | Integer | -1 |
2 | set Width | Integer | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set Height Percent | Integer | - |
2 | set Width Percent | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Prompt | String | - |
2 | set Prompt | String | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Selection | text | - |
2 | set Selection | text | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Selection | Integer | - |
2 | set selection | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Visible | boolean | true |
2 | set Visible | boolean | - |