Docs 1.6
Accidentally uploaded outdated 1.6 docs
This commit is contained in:
22
docs/docs1_6/objects/Object/hide.md
Normal file
22
docs/docs1_6/objects/Object/hide.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Object
|
||||
|
||||
## hide
|
||||
|
||||
Hides the object
|
||||
|
||||
### Returns
|
||||
|
||||
1. `object` The object in use
|
||||
|
||||
#### 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