Option for wixLocation.to() to open a new tab or window

RIght now, the wixLocation.to() function can only go to a location (url) on the same tab/window. It would be a great help if we could specify in code whether to open a new tab/window or not. This is particularly useful when displaying pdf documents or other content that is not directly related to navigation through the site.

5 Likes