From 398e74c4a4332f7e54cdb83408abf9964578f5e4 Mon Sep 17 00:00:00 2001 From: Sahan Wick Date: Fri, 18 Oct 2024 16:40:10 -0500 Subject: [PATCH] fixed setName and isEnabeld in api documentation --- docs/api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api.md b/docs/api.md index f42028c..f1f73c3 100644 --- a/docs/api.md +++ b/docs/api.md @@ -64,7 +64,7 @@ Constructs an empty ``32x32`` icon on the topbar. #### setName {chainable} ```lua -icon:set(name) +icon:setName(name) ``` Sets the name of the Widget instance. This can be used in conjunction with ``Icon.getIcon(name)``. @@ -459,10 +459,10 @@ local bool = icon.isSelected ``` ---- -#### enabled +#### isEnabled {read-only} ```lua -local bool = icon.enabled +local bool = icon.isEnabled ``` ----