add stuff to api doc

This commit is contained in:
Josh
2018-06-13 14:18:56 -05:00
parent be2cdab225
commit 3817209be5

18
API.md
View File

@@ -115,6 +115,24 @@ cancelled()
*Inherits UIButton and Label*
### Slider class
*Inherits UIButton*
Methods:
```lua
number, number getValueRange()
number getValueIncrement()
number getValue()
setValueRange(number min, number max)
setValueIncrement(number inc)
setValue(number val)
```
Events:
```lua
```
### Event class
Events provide a way for *listeners*, user-defined functions, to be called when certain things happen with JUI objects.