Navigate To Url In New Tab

Question:
i want to open external url in new tab.
Product:
wix editor - with velo.

What are you trying to achieve:
[Explain the details of what you are trying to achieve. The more details you provide, the easier it is to understand what you need.]

What have you already tried:
i am not using button, so i can’t use link property. i’ve tried wixLocationFrontend.To() - it opens in current page.
Additional information:
[Include any other pertinent details or information that might be helpful for people to know when trying to answer your question.]

Sorry, misread the question, irrelevant here


Original:

This is not possible with wixLocation as far as I’m aware

You can use an iFrame like so:

<base target="_blank" /><!-- Links open in a new window -->

<a href="https://github.com/deanayalon">
    <img src="https://img.shields.io/badge/GitHub-121011?style=for-the-badge&logo=github&logoColor=white"
        style="display: block; margin: auto" />
</a>

Note that it will use native HTML so you’ll have to design your own button, in this example, I used an SVG to redirect to my GitHub:
github

Thanks, it is good idea!
what i actually did, i put transparent button on the element - in my case it was text, and configure the button link to be opened in new window.