Configure Background for routes
I have a solid app where I want to change my background images dynamically based on which route/page it is.
How can I configure bg1.png to automatically change based on which route is used.
Should i create a global backgroundSignal, then use the Route."load" property to set the backgroundSignal to the current background. Then put the img in a switch to update when backgroundSignal changes?
How can I configure bg1.png to automatically change based on which route is used.
Should i create a global backgroundSignal, then use the Route."load" property to set the backgroundSignal to the current background. Then put the img in a switch to update when backgroundSignal changes?
