Displays a scrollable list of clickable textual entries.
This module depends on the gui
module, which in turn depends on the event_loop
module, so they must be imported in this order. It is also recommended to conceptualize these modules first before using this one.
Property | Type | Description |
---|---|---|
header | string | A single line of text that appears above the list. |
items | string[] | The list of options. |
Item | Type | Description |
---|---|---|
chosen | number | Fires when an entry has been chosen by the user. The item contains the index of the entry. |