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

    Uploader @finish removed v1 replacement

    Help
    2
    5
    216
    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.
    • T
      turigeza last edited by

      So uploader @finish was removed in v1.

      What do I replace it with ? I mean I need to know of the uploader has finished either failed or succeeded.

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

        There’s uploading({ files, xhr }) and uploaded({ files, xhr }) events which are equivalent to start and finish. Please look at docs.

        1 Reply Last reply Reply Quote 0
        • T
          turigeza last edited by turigeza

          @rstoenescu

          I want to know when ALL the files have finished. That is uploaded or failed.

          As far as I can tell uploaded({ files, xhr }) fires after every single file upload has finished not when all of them.

          So if I am uploading 10 files it will fire 10 times. And not once when all of them is finished. Also it does not fire when the upload fails. (There is @failed -> function(files, xhr) for that I know.)

          @finish fired once. ( no ? ) And it fired after everything is finished. Ideal for me. Because that is all I need to know.

          Thank you,

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

            There’s two ways to upload: batch and individually.
            But I see your point when uploading individually. Would you be so kind to open up a ticket on Github for this so it won’t be lost? Thanks!

            1 Reply Last reply Reply Quote 0
            • T
              turigeza last edited by

              Done. Thank you !

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