File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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
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.
162162If 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
163163initial 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:
You can’t perform that action at this time.
0 commit comments