Browse Source

Upgrade to v1.5.0

Kartik Visweswaran 11 năm trước cách đây
mục cha
commit
975da5d3df
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      README.md

+ 4 - 4
README.md

@@ -158,7 +158,7 @@ The `mainTemplate` if not passed, will be automatically set based on `showCaptio
 
 #### initialPreview
 
-_string|array_ the initial preview content to be displayed. You can pass the minimal HTML markup for displaying your image, text, or file. 
+_string | array_ the initial preview content to be displayed. You can pass the minimal HTML markup for displaying your image, text, or file. 
 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 
 initial preview (useful for multiple file upload scenarios).
 
@@ -191,9 +191,9 @@ initialPreview: "<div class='file-preview-text'>" +
 
 #### initialCaption
 
-_string_ the initial preview caption text to be displayed. If you do not set a value here and `initialPreview`,
- this will default to `"{preview-file-count} files selected"`, where `{preview-file-count}` is the count of the
- files passed in `initialPreview`.
+_string_ the initial preview caption text to be displayed. If you do not set a value here and `initialPreview` is set to 
+`true` this will default to `"{preview-file-count} files selected"`, where `{preview-file-count}` is the count of the 
+files passed in `initialPreview`.
  
 #### captionTemplate
 _string_ the template used to render the caption. The following template variables will be parsed: