Open in new tab
colinm last edited by
I’m trying out Quasar for a project which is currently a traditional MVC app (and a Quasar backer!). I know users heavily make use of “Open in new tab” and “Copy link location” type functionality for emails and chat and such. I know
router-linkworks but for first-class support of links it seems either a separate component is needed like
QBtnneeds support for something like
linkboolean plus some CSS updates.
Do you think this is something that could be officially supported? I don’t know the best way to implement this to be compatible with the overall goals of the framework (Cordova and such) but for a basic web-app it seems that good ole links are still going to be necessary. Using
router-linkdoesn’t fit in smoothly by itself. For example if I put a
router-linkin a toolbar I have to set the class
text-whiteor else it doesn’t have the correct background color whereas with
q-btnthis stuff isn’t necessary. In general all of the features of
q-btnwould be great to be able to use with links.
Will research and see where it goes. Added to my todo list. Thanks!
flight9 last edited by
I’m also searching the resolution of this question
benoitranque last edited by benoitranque
there is a openURL util you can use like so:
<q-btn @click="openURL('somurl)">visit a place</q-btn>