deploy: ca2e43258b
This commit is contained in:
41
docs/references/List.md
Normal file
41
docs/references/List.md
Normal file
@@ -0,0 +1,41 @@
|
||||
# List : VisualElement
|
||||
|
||||
## Properties
|
||||
|
||||
|Property|Type|Default|Description|
|
||||
|---|---|---|---|
|
||||
|items|table|List|of items to display
|
||||
|selectedIndex|number|Currently|selected item index
|
||||
|selectable|boolean|Whether|items can be selected
|
||||
|offset|number|Scrolling|offset
|
||||
|selectedColor|color|Color|for selected item
|
||||
|
||||
## Functions
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[List.new](#List.new)|-|
|
||||
|[List:addItem](#List:addItem)|-|
|
||||
|[List:clear](#List:clear)|-|
|
||||
|[List:init](#List:init)|-|
|
||||
|[List:mouse_click](#List:mouse_click)|-|
|
||||
|[List:mouse_scroll](#List:mouse_scroll)|-|
|
||||
|[List:removeItem](#List:removeItem)|-|
|
||||
|[List:render](#List:render)|-|
|
||||
|
||||
## List.new()
|
||||
|
||||
## List:addItem()
|
||||
|
||||
## List:clear()
|
||||
|
||||
## List:init()
|
||||
|
||||
## List:mouse_click()
|
||||
|
||||
## List:mouse_scroll()
|
||||
|
||||
## List:removeItem()
|
||||
|
||||
## List:render()
|
||||
|
||||
Reference in New Issue
Block a user