Added UIButton doc

This commit is contained in:
Josh
2018-06-08 14:07:40 -05:00
parent 851c8507b8
commit e94b4b4547

23
API.md
View File

@@ -72,8 +72,6 @@ mouseExit()
*Inherits UIRect*
### Label class
*Inherits UIRect*
@@ -94,29 +92,20 @@ setTextSize(number size)
*This class is abstracted and exists only for inheritance.*
Methods:
```lua
```
Events:
```lua
mouseClickDown()
mouseClickUp()
pressed()
released()
cancelled()
```
### Button class
*Inherits UIButton*
*Inherits UIButton and Label*
Methods:
```lua
```
Events:
```lua
```
### Event class
Events provide a way for *listeners*, user-defined functions, to be called when certain things happen with JUI objects.