I Am using ngx-lottie, and I am struggling to get to change the path (to the animation file)
this.lottieConfig = {
path: 'assets/standBy.json',
renderer: 'canvas',
autoplay: true,
loop: true
};
How can I change the animation base on notifications from WebSocket I connected to without creating a new Lottie ? and without the animation jump while replacing? for example, I get notification of 'ready' i would like to replace the path of Lottie to 'assets/ready.json' 'if I just changing the path prop its not working.