Is it possible to download a file (e.g. Power point presentation) through a link when an igx Button is clicked? I could not find any related topic to my question.
Here is my example code:
<button igxButton="raised" (click)="downloadFile()" class="downloadBtn">
Download File
</button>
and the function:
downloadFile() {
let exampleLink = "https://downloadexamplefile.com/fileid123"
}
Thank you!