+ Start a Discussion
DML2020DML2020 

Hyperlink to URL within a LWC pop-up/ modal: how to?

To accomplish having a link embedded within text in a lightning web component to open to a new tab or window, would only the html file require modification or the html file AND the javascript file?

Any examples would be much appreciated.

AbhinavAbhinav (Salesforce Developers) 
Hi ,

Check this :

create a link to an external website in a lightning web component
https://developer.salesforce.com/forums/?id=9062I000000IIXRQA4

Thanks!