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 get callback in q-uploader?

    Help
    2
    5
    772
    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.
    • B
      bosconovitchi last edited by

      When file upload successful,server response json to browser.How can i get the response data.Did it has callback functions?

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

        If you need to work with the upload communication in a more custom manner, use the upload-factory prop.

        https://quasar-framework.org/components/uploader.html#Upload-Factory

        Scott

        B 1 Reply Last reply Reply Quote 1
        • B
          bosconovitchi @s.molinari last edited by

          @s-molinari
          Thanks scott,and did you know how to get numbers of file in q-uploader .
          I spent the whole afternoon trying to figure it out.

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

            If you have a method on the @add event, you should have a “files” object and can then see what is in it.

            Scott

            B 1 Reply Last reply Reply Quote 1
            • B
              bosconovitchi @s.molinari last edited by

              @s-molinari All right thanks scott.

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