You need to sign in to do that
Don't have an account?
Uncaught TypeError: this.get(...).querySelectorAll is not a function in standalone app
Hi
I have developed a Lightning Component which includes some css which I have stored in a static resource in the next way:
<ltng:require styles="/resource/HelloWorld/HelloWorld.css" />
If I visualize this component from SF1 navigation menu, the css is correctly loaded and the component correctly visualized. I have included the component as well in a standalone app in the next way:
<aura:application >
<c:HelloWorld />
</aura:application>
When I try to visualize the app (accessing https://aazcona-dev-ed.lightning.force.com/aazcona/HelloWorldApp.app) an error is shown to me: Uncaught TypeError: this.get(...).querySelectorAll is not a function
I have checked that the problem is the ltng:require tag, as if I comment it out, the standalone app works like a charm.
Any ideas?
Thanks
I have developed a Lightning Component which includes some css which I have stored in a static resource in the next way:
<ltng:require styles="/resource/HelloWorld/HelloWorld.css" />
If I visualize this component from SF1 navigation menu, the css is correctly loaded and the component correctly visualized. I have included the component as well in a standalone app in the next way:
<aura:application >
<c:HelloWorld />
</aura:application>
When I try to visualize the app (accessing https://aazcona-dev-ed.lightning.force.com/aazcona/HelloWorldApp.app) an error is shown to me: Uncaught TypeError: this.get(...).querySelectorAll is not a function
I have checked that the problem is the ltng:require tag, as if I comment it out, the standalone app works like a charm.
Any ideas?
Thanks