Browse Source

Update preview status documentation

Kartik Visweswaran 10 years ago
parent
commit
33d4e46c85
1 changed files with 10 additions and 2 deletions
  1. 10 2
      README.md

+ 10 - 2
README.md

@@ -397,13 +397,21 @@ where:
 _string_ the css class for the error message to be displayed in the preview window when the file size exceeds `maxSize`. Defaults to `file-error-message`.
 
 #### msgLoading
-_string_ the message displayed when the files are getting read and loaded for preview. Defaults to `Loading  file {index} of {files} …`.
+_string_ the message displayed when the files are getting read and loaded for preview. Defaults to 
+
+```Loading  file {index} of {files} …```
+
+The following special variables will be replaced:
 
 - `{index}`: the sequence number of the current file being loaded.
 - `{files}`: the total number of files selected for upload.
 
 #### msgProgress
-_string_ the progress message displayed as each file is loaded for preview. Defaults to `Loading file {index} of {files} - {name} - {percent}% completed.`. The following variables will be replaced:
+_string_ the progress message displayed as each file is loaded for preview. Defaults to:
+
+```Loading file {index} of {files} - {name} - {percent}% completed.```
+
+The following variables will be replaced:
 
 - `{index}`: the sequence number of the current file being loaded.
 - `{files}`: the total number of files selected for upload.