From 9d28c0c42b516bf75515457487aae01f77767737 Mon Sep 17 00:00:00 2001
From: Robert Jelic <36573031+NoryiE@users.noreply.github.com>
Date: Sat, 2 Apr 2022 16:07:09 +0200
Subject: [PATCH] Updated Object (markdown)
---
Object.md | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/Object.md b/Object.md
index cf27f4d..96d5979 100644
--- a/Object.md
+++ b/Object.md
@@ -5,19 +5,9 @@ Here is a list of possible functions:
shows the object (only if the parent frame is already visible)
````lua
local mainFrame = NyoUI.createFrame("myFirstFrame"):show()
-local button = mainFrame:addButton("myFirstButton")
-button:show()
-````
-**args:** -
-**returns:** the object
-
-## hide
-hides the object
-````lua
-local mainFrame = NyoUI.createFrame("myFirstFrame"):show()
local button = mainFrame:addButton("myFirstButton"):setText("Close"):onClick(function() mainFrame:hide() end)
button:show()
-````s
+````
**args:** -
**returns:** the object