module:Select

module:Select

Select class
select demo

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

Extends

Members

# (static) defaultOptions :SelectOptions

Type:
  • SelectOptions

# (static) MARGIN :Number

Margin around the text

Type:
  • Number

# height

Get this button's height

# size

Computer button size

# value

Overrides:

# value

Overrides:

# width

Get this button's width

Methods

# (static) from(definition) → {Select}

Parameters:
Name Type Description
definition Object

Select definition

Returns:
Type
Select

Type Definitions

# SelectOptions

Type:
  • Object
Properties
Name Type Attributes Default Description
value String <optional>
0

Selected index of the select