I am trying to swap a FontAwesome Icon with a Google Materials SVG Icon when a collapsible table button toggle is pressed (changing from a down arrow to an up arrow). I have been struggling to get the Google Material Icons code to work. How can I resolve this issue?
The desired functionality should be similar to this, but using Google icons:
https://codepen.io/tofanelli/pen/waadRY
Font Awesome
.card-header .accordion-toggle:after {
font-family: 'Glyphicons Halflings';
content: "\e114";
float: right;
color: grey;
}
.card-header .accordion-toggle.collapsed:after {
content: "\e113";
}
Google Material Icons:
.card-header .accordion-toggle:after .material-icons{
content: "\e5cf";
float: right;
color: grey;
}
etc
Here is an example image of the button toggling: