Hi,
I'd like to enable some addon-specific class extensions when the addon is enabled and disable them when it's disabled.
So I added a checkbox in the addon options to control enable/disable.
What is the best way to deal with the class extensions?
a) Create a call back validation function on the "enable" option which will check it's value and accordingly disable the classes?
b) Create an event listener? If yes, which event should I be listening on?
c) other
Thanks
I'd like to enable some addon-specific class extensions when the addon is enabled and disable them when it's disabled.
So I added a checkbox in the addon options to control enable/disable.
What is the best way to deal with the class extensions?
a) Create a call back validation function on the "enable" option which will check it's value and accordingly disable the classes?
b) Create an event listener? If yes, which event should I be listening on?
c) other
Thanks