Skip to content

Commit 085daa6

Browse files
authored
add documentation for clearAll feature
1 parent a421056 commit 085daa6

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Vue component that provides drag and drop images upload with preview.
1010
* Add images
1111
* Delete Images
1212
* Append Images
13+
* Remove all images
1314

1415
## Example
1516

@@ -131,4 +132,16 @@ default: `Unsupported file type`
131132
```html
132133
<!-- the message that the user see when the uploaded file is not an image -->
133134
<UploadImages fileError="images files only accepted"/>
134-
```
135+
```
136+
137+
### <b>clearAll</b>
138+
Type: `String`
139+
140+
Required: `false`
141+
142+
default: `clear All`
143+
144+
```html
145+
<!-- the name of the remove all images button -->
146+
<UploadImages clearAll="remove all images" />
147+
```

0 commit comments

Comments
 (0)