No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Open in new tab

    Framework
    4
    5
    4948
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      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-link works but for first-class support of links it seems either a separate component is needed like QLink, or QBtn needs support for something like tag="a" property or link boolean 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-link doesn’t fit in smoothly by itself. For example if I put a router-link in a toolbar I have to set the class text-white or else it doesn’t have the correct background color whereas with q-btn this stuff isn’t necessary. In general all of the features of q-btn would be great to be able to use with links.

      Thanks!
      Colin

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        Will research and see where it goes. Added to my todo list. Thanks!

        1 Reply Last reply Reply Quote 0
        • F
          flight9 last edited by

          I’m also searching the resolution of this question

          1 Reply Last reply Reply Quote 0
          • benoitranque
            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>
            
            1 Reply Last reply Reply Quote 1
            • rstoenescu
              rstoenescu Admin last edited by

              v0.17 --> QBtn > type=“a”

              1 Reply Last reply Reply Quote 3
              • First post
                Last post