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

    [Solved] Opening link in external browser - multiplatform safe

    Help
    2
    3
    856
    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.
    • mboeni
      mboeni last edited by mboeni

      Hi all

      I would like to open some link in the system’s standard browser, not the app itself. I have come across require('electron').shell.openExternal(url) but that does not seem to be the correct way for me. I would like to make it work across platforms (electron, cordova). What is the correct approach to handle this?

      Cheers,
      Michael

      1 Reply Last reply Reply Quote 0
      • K
        kiani last edited by

        Did you try this?

        https://quasar.dev/quasar-utils/other-utils#Open-External-URL

        mboeni 1 Reply Last reply Reply Quote 0
        • mboeni
          mboeni @kiani last edited by

          @kiani Not yet. Thanks, that’s exactly what I needed 🙂

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