File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -100,10 +100,30 @@ new Vue({
100
100
You can access the file upload events using v-on methods.
101
101
102
102
- 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
+ ```
104
114
105
115
- 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
+ ```
107
127
108
128
## License
109
129
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-simple-upload" ,
3
- "version" : " 0.0.3 " ,
3
+ "version" : " 0.1.0 " ,
4
4
"description" : " Simple File upload component for Vue.js" ,
5
5
"author" : " saivarunk@gmail.com" ,
6
6
"repository" : {
You can’t perform that action at this time.
0 commit comments