Hello,
I would like to initialize a few instance state values based on module wide config values. How do I reference the module wide config values in the instance$static$init function?
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I would like to initialize a few instance state values based on module wide config values. How do I reference the module wide config values in the instance$static$init function?
Thanks
The last parameter passed to instance$static$init is a reference to a module. From there you can get to module-level configs.
I was only passing obj and params. I had not noticed the mod parameter in any of my examples.
Thanks