From d9eb802481d6e0ec2fc2a2e181af3f5b01b3f787 Mon Sep 17 00:00:00 2001
From: Robert Jelic <36573031+NoryiE@users.noreply.github.com>
Date: Sat, 2 Apr 2022 15:05:07 +0200
Subject: [PATCH] Updated Radio (markdown)
---
Radio.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Radio.md b/Radio.md
index bd2837b..1153ac9 100644
--- a/Radio.md
+++ b/Radio.md
@@ -2,7 +2,7 @@ Radios are objects, where the user can choose between different items.
Here is a example of how to create a standard radio:
````lua
-local mainFrame = CreateFrame("myFirstFrame"):show()
+local mainFrame = NyoUI.createFrame("myFirstFrame"):show()
local aRadio = mainFrame:addRadio("myFirstRadio"):show()
````
@@ -40,7 +40,7 @@ aRadio:removeItem(2)
## setSymbol
changes the selected symbol
````lua
-local mainFrame = CreateFrame("myFirstFrame"):show()
+local mainFrame = NyoUI.createFrame("myFirstFrame"):show()
local aInput = mainFrame:addInput("myFirstInput"):setInputType("password"):show()
````
**args:** char