From 6f703a27bc2403cc88e06610838ab5110ccdde6b Mon Sep 17 00:00:00 2001 From: CI <> Date: Sat, 13 Feb 2021 18:28:17 +0000 Subject: [PATCH] 49afb85525bbaaa2d09a69a5eec1436083046867 --- docs/api/icon.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/api/icon.md b/docs/api/icon.md index c618cda..eb221a7 100644 --- a/docs/api/icon.md +++ b/docs/api/icon.md @@ -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}