mat button copy link
snippet in html

mat button copy link

user7364

<button mat-button [cdkCopyToClipboard]="link">Copy Link</button>

mat button copy link

user4459

<button mat-button [cdkCopyToClipboard]="link">Copy Link</button>