Updated some formatting
Updated formatting for object
This commit is contained in:
@@ -1,15 +1,22 @@
|
||||
# Object
|
||||
|
||||
## hide
|
||||
|
||||
Hides the object
|
||||
|
||||
#### Returns:
|
||||
### Returns
|
||||
|
||||
1. `object` The object in use
|
||||
|
||||
#### Usage:
|
||||
#### Usage
|
||||
|
||||
* Hides a frame
|
||||
|
||||
```lua
|
||||
local mainFrame = basalt.createFrame()
|
||||
local button = mainFrame:addButton():setText("Close"):onClick(function() mainFrame:hide() end)
|
||||
```
|
||||
|
||||
```xml
|
||||
<button visible="false" />
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user