Page 1 of 1

How to custom icon in user module

Posted: 30 Sep 2018 13:40
by fez
I would like to override the binary switch icon in a user module, something like:

Code: Select all

vDev.set("metrics:icon", ”my_icon.png”);
... but, I want to provide the icon within the module folder, i.e. MyModule/htdocs, not an URL.
I tried with different paths to the icon, but I failed.

Is it possible? How?