Skip to content

Commit ede9bee

Browse files
author
saivarunk
committed
upgrade version
1 parent 6b22b68 commit ede9bee

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,30 @@ new Vue({
100100
You can access the file upload events using v-on methods.
101101

102102
- File Upload start event:
103-
You can access the start event using v-on:"start()"
103+
You can access the start event using v-on:start"startUpload"
104+
105+
```js
106+
107+
methods() {
108+
startUpload(e) {
109+
// start event
110+
}
111+
}
112+
113+
```
104114

105115
- File Upload finish event:
106-
You can access the start event using v-on:"finish()"
116+
You can access the start event using v-on:finish"finishUpload"
117+
118+
```js
119+
120+
methods() {
121+
finishUpload(e) {
122+
// finish event
123+
}
124+
}
125+
126+
```
107127

108128
## License
109129

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-simple-upload",
3-
"version": "0.0.3",
3+
"version": "0.1.0",
44
"description": "Simple File upload component for Vue.js",
55
"author": "saivarunk@gmail.com",
66
"repository": {

0 commit comments

Comments
 (0)