Looking for a way to change the Toggle text in my angular 7 application accordion to images or content displaying a + sign for collapse and - for expand. I need to achieve this using CSS in my SCSS stylesheet so that I can later change the color of the signs. Currently, I have placeholder toggle text that needs to be replaced. Here is the current implementation.
HTML Code:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<div class="card">
<div class="card-header panel-heading">
<span class="left-label" style="font-size: 18px; font-weight: bold; ">Fund Classes</span>
<a class="pull-right" [ngClass]="{'collapsed': !isExpanded}" data-toggle="collapse" href="javascript:void(0);" (click)="expand()" role="button"
[attr.aria-expanded]="isExpanded" aria-controls="nva"> Toggle
</a>
</div>
<div [ngClass]="{'show': isExpanded}" id="nva" class="collapse" role="tabpanel" aria-labelledby="nva_heading" data-parent="#nva"
[attr.aria-expanded]="isExpanded">
<div class="card-body">
<div class="form-group row">
<label for="inputName" class="col-md-2 " style="font-weight: bold">Name</label>
<div class="col-md-2" style="border: 1px">
<kendo-dropdownlist style="width:100%"
class="form-control form-control-sm" [data]="Funds" [filterable]="false" textField="Name"
[valuePrimitive]="true" valueField="Id" >
</kendo-dropdownlist>
</div>
<label for="inputEmail" class="col-md-2" style="font-weight: bold">NAV Reporting Cycle</label>
<div class="col-md-2">
<kendo-dropdownlist style="width:100%" class="form-control form-control-sm"
[data]="ReportingCycle" [filterable]="false"
[textField]="'Name'" [valuePrimitive]="true" [valueField]="'Id'">
</kendo-dropdownlist>
</div>
<label for="inputTitle" class="col-md-2" style="font-weight: bold">Plan Asset Fund</label>
<div class="col-md-2">
<label style="font-size: 13px;font-weight: normal;cursor: pointer">
<input type="checkbox" style="width: 13px; height: 13px;" />
Yes </label>
</div>
</div>
<div class="form-group row">
<label for="inputName" class="col-md-2 " style="font-weight: bold">Name</label>
<div class="col-md-2" style="border: 1px">
<kendo-dropdownlist style="width:100%"
class="form-control form-control-sm" [data]="Funds" [filterable]="false" textField="Name"
[valuePrimitive]="true" valueField="Id" >
</kendo-dropdownlist>
</div>
<label for="inputEmail" class="col-md-2" style="font-weight: bold">NAV Reporting Cycle</label>
<div class="col-md-2">
<kendo-dropdownlist style="width:100%" class="form-control form-control-sm"
[data]="ReportingCycle" [filterable]="false"
[textField]="'Name'" [valuePrimitive]="true" [valueField]="'Id'">
</kendo-dropdownlist>
</div>
<label for="inputTitle" class="col-md-2" style="font-weight: bold">Plan Asset Fund</label>
<div class="col-md-2">
<label style="font-size: 13px;font-weight: normal;cursor: pointer">
<input type="checkbox" style="width: 13px; height: 13px;" />
Yes </label>
</div>
</div>
</div>
</div>
</div>