wixLocation.to() to open a new tab

When a member click on a button, I want the link to open in a new tab, any help?
Thanks

You can use the .target property of the button to specify a new tab.