
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Base on Vue2, wrapper for Dropzone.js.
<vue-dzone :id="'mydzone'" :url="'/photo/upload'" :defaultTheme="true">
<div class="dz-message" slot="form"><span>Hey drop here</span></div>
</vue-dzone>

npm install vue2-dzone
or
yarn add vue2-dzone
Coming soon...
| Prop Name | Type | Description |
|---|---|---|
| id | String | The dropzone form's id. |
| url | String | Upload url. (post by default) |
Same as dropzone.js See - Dropzone configuration
| Prop Name | Type | Default | Description |
|---|---|---|---|
| dropzoneClass | String | empty string | The dropzone form's class. do not use :class to bind class, it will effect entire component not Dropzone's form |
| dropzoneStyle | String | empty string | The dropzone form's style. |
| defaultTheme | Boolean | false | if true, it will generate a dropzone like official style |
| options | Object | empty object | if provide a object, it will be merge by dropzone's default options |
| Event Name | Payload | Description |
|---|---|---|
| dzone-init | Dropzone instance | when dropzone init, vue2dozne will emit this event with dropzone instance |
| dzone-drop | dom-event | The user dropped something onto the dropzone. |
| dzone-dragstart | dom-event | The user started to drag anywhere |
| dzone-dragend | dom-event | Dragging has ended |
| dzone-dragenter | dom-event | The user dragged a file onto the Dropzone |
| dzone-dragover | dom-event | The user is dragging a file over the Dropzone |
| dzone-dragleave | dom-event | The user dragged a file out of the Dropzone |
| dzone-success | file, response | The file has been uploaded successfully. Gets the server response as second argument. |
| dzone-error | file, error, xhr | An error occured. Receives the errorMessage as second parameter and if the error was due to the XMLHttpRequest the xhr object as third. |
| dzone-complete | nothing | Called when the upload was either successful or erroneous. |
| dzone-queuecomplete | files | Called when all files in the queue finish uploading. |
| dzone-addedfile | file | When a file is added to the list |
FAQs
A dropzone.js wrapper for vue
We found that vue2-dzone demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.