From 975da5d3df50bcfad23e79f0492c16fa5e38970f Mon Sep 17 00:00:00 2001 From: Kartik Visweswaran Date: Fri, 23 May 2014 21:40:15 +0530 Subject: [PATCH] Upgrade to v1.5.0 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1c564103..01421db4 100644 --- a/README.md +++ b/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: "
" + #### 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: