Can anyone help me figure out how to pass a string message as a parameter to my AddRemoveUserOfGroupGeneral function? I am using matToolTip without any issues, but I'm struggling to pass it to my function:
<button mat-raised-button color="primary" matTooltip="{{ 'GROUPS.addUserToGroup' | translate }}" matTooltipPosition="above" (click)="AddRemoveUserOfGroupGeneral('add', 'I WANT MY VARIABLE GROUPS.addUserToGroup THERE ?');">Ajouter <mat-icon>add_box</mat-icon></button>
Using Angular 11 and Typescript 4.0.5. I appreciate any assistance!