When I press a button on the dashboard, I would like the entire page background to change color. i.e. when I press the stop button, the background changes to a red. I am able to do it if I use javascript with the following code inside a function that is started when the button is pressed
document.getElementsByTagName("body")[0].style.backgroundColor = "red";
I am hoping to do this with the dashboard buttons and then maybe a function node or a template node to change the body of the page. I am not very familiar with the angular language so I am not sure how to get the msg.payload that is being sent out from the button into a template node so I can do what I need to do. I hope this makes sense and someone can help me.