Dynamically change background color of mat-expansion-panel-header based on whether or not it is expanded
问题 I've been struggling to find a way to dynamically change the background color of a material design expansion panel header based on whether or not the panel is expanded. When the panel is closed I'd like the background color to be white, but when it is expanded I want to change that color to something else. I'm not seeing something I can base this change off of, maybe I'm missing something. I'm new to angular and was thinking I would just be able to base it off of [expanded]'s setting but it