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

    Printing a q-dialog

    Framework
    1
    2
    1039
    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.
    • D
      David5446 last edited by

      I’ve put some content into a q-dialog full screen page. This scrolls down off the bottom of the page. I want to print this but it only prints one page not the whole of the display onto multiple pages. Has anyone come across this?

      1 Reply Last reply Reply Quote 0
      • D
        David5446 last edited by

        I found a solution if anyone hits the same issue…

        Installed vue-print-nb from https://www.npmjs.com/package/vue-print-nb

        Decluttered code sample…

        <q-dialog>
         <q-card >
           <div id="print">
                <q-btn v-print="'#print'" /> 
                <MyComponent />
           </div>
          </q-card>
        1 Reply Last reply Reply Quote 0
        • First post
          Last post