Skip to content

Commit 975da5d

Browse files
committed
Upgrade to v1.5.0
1 parent 1dc1296 commit 975da5d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ The `mainTemplate` if not passed, will be automatically set based on `showCaptio
158158

159159
#### initialPreview
160160

161-
_string|array_ the initial preview content to be displayed. You can pass the minimal HTML markup for displaying your image, text, or file.
161+
_string | array_ the initial preview content to be displayed. You can pass the minimal HTML markup for displaying your image, text, or file.
162162
If set as a string, this will display a single file in the initial preview. If set as an array, it will display all files in the array as an
163163
initial preview (useful for multiple file upload scenarios).
164164

@@ -191,9 +191,9 @@ initialPreview: "<div class='file-preview-text'>" +
191191

192192
#### initialCaption
193193

194-
_string_ the initial preview caption text to be displayed. If you do not set a value here and `initialPreview`,
195-
this will default to `"{preview-file-count} files selected"`, where `{preview-file-count}` is the count of the
196-
files passed in `initialPreview`.
194+
_string_ the initial preview caption text to be displayed. If you do not set a value here and `initialPreview` is set to
195+
`true` this will default to `"{preview-file-count} files selected"`, where `{preview-file-count}` is the count of the
196+
files passed in `initialPreview`.
197197

198198
#### captionTemplate
199199
_string_ the template used to render the caption. The following template variables will be parsed:

0 commit comments

Comments
 (0)