Constructor
new module:Select(positionDefinition, optionsList, optionsopt)
Select constructor
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
positionDefinition | PositionDefinition | Any position | |
optionsList | Array.<String> | List of options to display | |
options | InputOptions | <optional> | Drawing options |
- Source
Extends
Members
(static) defaultOptions :SelectOptions
Type:
- SelectOptions
- Source
(static) MARGIN :Number
Margin around the text
Type:
- Number
- Source
height
Get this button's height
- Source
size
Computer button size
- Source
value
- Overrides
- Source
value
- Overrides
- Source
width
Get this button's width
- Source
Methods
(static) from(definition) → {Select}
Parameters:
Name | Type | Description |
---|---|---|
definition | Object | Select definition |
- Source
Returns:
- Type:
- Select
Type Definitions
SelectOptions
Type:
Properties- Object
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
value | String | <optional> | 0 | Selected index of the select |
- Source