deploy: 373bd7b485
This commit is contained in:
24
docs/references/elements/Graph.md
Normal file
24
docs/references/elements/Graph.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Graph : VisualElement
|
||||
|
||||
## Functions
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[Graph.new](#Graph.new)|-|
|
||||
|[Graph:addPoint](#Graph:addPoint)|-|
|
||||
|[Graph:init](#Graph:init)|-|
|
||||
|[Graph:render](#Graph:render)|-|
|
||||
|[Graph:setPoint](#Graph:setPoint)|-|
|
||||
|
||||
|
||||
## Graph.new()
|
||||
|
||||
## Graph:addPoint()
|
||||
|
||||
## Graph:init()
|
||||
|
||||
## Graph:render()
|
||||
|
||||
## Graph:setPoint()
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ custom item rendering, separators, and selection handling.
|
||||
|---|---|---|
|
||||
|[List:addItem](#List:addItem)|List|Adds an item to the list
|
||||
|[List:clear](#List:clear)|List|Clears all items from the list
|
||||
|[List:getSelectedItem](#List:getSelectedItem)|table?|Gets first selected item
|
||||
|[List:getSelectedItems](#List:getSelectedItems)|table|Gets the currently selected items
|
||||
|[List:onSelect](#List:onSelect)|List|Registers a callback for the select event
|
||||
|[List:removeItem](#List:removeItem)|List|Removes an item from the list
|
||||
@@ -67,6 +68,12 @@ Clears all items from the list
|
||||
list:clear()
|
||||
```
|
||||
|
||||
## List:getSelectedItem()
|
||||
Gets first selected item
|
||||
|
||||
### Returns
|
||||
* `table?` `selected` The first item
|
||||
|
||||
## List:getSelectedItems()
|
||||
Gets the currently selected items
|
||||
|
||||
|
||||
Reference in New Issue
Block a user