23 lines
410 B
Markdown
23 lines
410 B
Markdown
## getOptions
|
|
|
|
### Description
|
|
|
|
Returns all items as a table.
|
|
|
|
#### Returns
|
|
|
|
1. `table` All items
|
|
|
|
### Usage
|
|
|
|
* Creates a default list with 3 entries and prints a table.
|
|
|
|
```lua
|
|
local mainFrame = basalt.createFrame()
|
|
local aList = mainFrame:addList()
|
|
aList:addItem("1. Entry")
|
|
aList:addItem("2. Entry", colors.yellow)
|
|
aList:addItem("3. Entry", colors.yellow, colors.green)
|
|
basalt.debug(aList:getOptions())
|
|
```
|