I am facing an issue with getting parameters from a JSON file, instead of passing the parameters as an object in the typescript code.
This is the content of my JSON file:
The console.log line prints the content of the json file in the console, but I can't in any way have the animation when I assign the params inside the Http Get subscription.
Hello,
Thank you for sharing this solution.
I am facing an issue with getting parameters from a JSON file, instead of passing the parameters as an object in the typescript code. This is the content of my JSON file:
and this is how I assign my params variable:
The console.log line prints the content of the json file in the console, but I can't in any way have the animation when I assign the params inside the Http Get subscription.
Thank you for your support