I would like to implement a download button in a web app developed with ionic 4. I read that I can add a download property in ion-button
Download: This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want).
It seems that the attribute will be the file name in the save prompt, so my question is where to put the download url.