What I’m doing is a little bit complicated but is a project requirement and I cannot change it.
When the user clicks a button the system makes a http request to the backend. The backend then returns a temporary link. As a temporary link It must be open in something new so the user clicks and open the link in something like a Action Sheet or Modal.
I need to generate a link dinamically and cannot open this link via popup because most of the user will not see the popup or because the browser will block it. Open programmatically will open it in a popup.
How could I put html inside this button by using the Action Sheet api in my PWA?