Updated some formatting
Updated formatting for object
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# onClickUp
|
||||
`onClickUp(self, event, button, x, y)`<br>
|
||||
# Object - Event
|
||||
|
||||
## onClickUp
|
||||
|
||||
`onClickUp(self, event, button, x, y)`
|
||||
|
||||
The computercraft event which triggers this method is `mouse_up`.
|
||||
|
||||
Here is a example on how to add a onClickUp event to your button:
|
||||
@@ -22,4 +26,4 @@ function buttonOnRelease(self, button, x, y)
|
||||
basalt.debug("Button got released!")
|
||||
end
|
||||
button:onClickUp(buttonOnRelease)
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user