Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/1ForeverHD/TopbarPlus into …
Browse files Browse the repository at this point in the history
…main
  • Loading branch information
1ForeverHD committed Feb 13, 2021
2 parents 5d12eca + 6f703a2 commit 1609964
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/api/icon.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ icon:setName(string)
```
Associates the given name to the icon which enables it to be retrieved with ``IconController.getIcon(name)``.

----
#### setProperty
{chainable}
```lua
icon:setProperty(propertyName, value)
```
An alternative way of doing ``zone[propertyName] = value``. This enables the easy-configuration of icon properties within chained methods.

----
#### select
{chainable}
Expand Down

0 comments on commit 1609964

Please sign in to comment.