vue-clip icon indicating copy to clipboard operation
vue-clip copied to clipboard

[Question] How do I access .processQueue()

Open lee-frank opened this issue 8 years ago • 1 comments

Hi! In my options object I've set autoProcessQueue: false. According to the dropzone documentation I need to call .processQueue() explicitly. How do I access this function to process the queue? Thanks for all your work so far!

lee-frank avatar Feb 02 '17 17:02 lee-frank

Their isn't any public API for that. I will add it, meanwhile you can access the dropzone instance as defined below

<template>
  <vue-clip :on-init="init">
  </vue-clip>
</template>

<script>
  export default {

    methods: {
      init (uploader) {
         uploader.uploader._uploader.processQueue()
      }
    }

  }
</script>

The nested uploader thing is funny. I will expose the api.

thetutlage avatar Feb 02 '17 18:02 thetutlage