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

    how to use qpopupproxy in script?

    Help
    2
    4
    538
    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.
    • K
      kawais last edited by

      The code in vue file like this, how to write in script?

            <q-popup-proxy ref="qDateProxy" transition-show="scale" transition-hide="scale">
              <q-date v-model="date" @input="() => $refs.qDateProxy.hide()" />
            </q-popup-proxy>
      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        I answered you in the GH issue.

        https://quasar.dev/vue-components/popup-proxy

        You just make QPopupProxy the child of the button. See first example.

        Scott

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

          I mean I want use qpopupproxy in <script> section, not in <template> section.
          because I went popup a dialog dynamically.

          1 Reply Last reply Reply Quote 0
          • s.molinari
            s.molinari last edited by

            Then give it a ref and use the built in methods. (You’ll still need to have the QPopupProxy code in your template).

            There is also the dialog and notify plug-ins.
            https://quasar.dev/quasar-plugins/dialog
            https://quasar.dev/quasar-plugins/notify

            Scott

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