File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ The `mainTemplate` if not passed, will be automatically set based on `showCaptio
158
158
159
159
#### initialPreview
160
160
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.
162
162
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
163
163
initial preview (useful for multiple file upload scenarios).
164
164
@@ -191,9 +191,9 @@ initialPreview: "<div class='file-preview-text'>" +
191
191
192
192
#### initialCaption
193
193
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 ` .
197
197
198
198
#### captionTemplate
199
199
_ string_ the template used to render the caption. The following template variables will be parsed:
You can’t perform that action at this time.
0 commit comments