I have a component in a list view. To get the value of the current item, I am using the following code, which works while interacting with the module:
Unfortunately, when the module is added to the app- 'self' gets overridden with 'window'.
To fix this, I am referencing the component by name like this:
It is frustrating that things don't act the same way when adding the module to an app.