I have this code and I need to pass the text to the tooltip whether checkbox is active or not, so this will display eg. "active" when checkbox is active and "disactive" when not. How to do that?
<div class="wifi__switcher switcher">
<input type="checkbox" [id]="wifiIdentifier" class="input switcher--input js-checkbox" [checked]="activated" (click)="saveState()">
<label class="switcher--label" [for]="wifiIdentifier" matTooltipPosition="above" matTooltip="(tooltipMessageAccordingToCheckboxState)">Toggle</label>
<!--</div>-->
</div>