@baianat/dropper
Advanced tools
Comparing version 0.0.0 to 0.0.1
@@ -194,3 +194,3 @@ /** | ||
ext: ext, | ||
id: Uploader.id++ | ||
id: Dropper.id++ | ||
}); | ||
@@ -214,2 +214,4 @@ this.uploadFile(this.files[index]); | ||
} | ||
this.input.value = ''; | ||
} | ||
@@ -216,0 +218,0 @@ }, { |
{ | ||
"name": "@baianat/dropper", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "A drag and drop file upload library that it friendly and fun to use. It offers great accessibility, validation and a smooth user experience.", | ||
"main": "dist/js/dropper.js", | ||
"module": "dist/js/dropper.esm.js", | ||
"files": [ | ||
@@ -7,0 +8,0 @@ "dist/js/*.js", |
@@ -38,3 +38,3 @@ # Dropper (wip) 🐛 | ||
Then create new `dropper` instance, you have to path uploading url to it | ||
Then create new `dropper` instance, you have to path the uploading url to it | ||
@@ -50,3 +50,4 @@ ```js | ||
`dropper` comes with may events that helps you to track file uploading and status | ||
|event name | description | | ||
| event name | description | | ||
|-----------------|-----------------------------------------| | ||
@@ -53,0 +54,0 @@ | `uploadFailed` | emits when a file uploaded successfully | |
Sorry, the diff of this file is not supported yet
66
37423
7
796