Browse Source

Corrected template documentation

Kartik Visweswaran 11 years ago
parent
commit
7069391653
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -198,7 +198,7 @@ files passed in `initialPreview`.
 #### captionTemplate
 #### captionTemplate
 _string_ the template used to render the caption. The following template variables will be parsed:
 _string_ the template used to render the caption. The following template variables will be parsed:
 
 
-- `{class}`: any additional CSS class to append to the caption container.
+- `{class}`: the `captionClass` property.
 
 
 The `captionTemplate` if not set will default to:
 The `captionTemplate` if not set will default to:
 ```html
 ```html
@@ -210,7 +210,7 @@ The `captionTemplate` if not set will default to:
 #### previewTemplate
 #### previewTemplate
 _string_ the template used to render the preview. The following template variables will be parsed:
 _string_ the template used to render the preview. The following template variables will be parsed:
 
 
-- `{class}`: any additional CSS class to append to the preview container.
+- `{class}`: the `previewClass` property.
 
 
 The `previewTemplate` if not set will default to:
 The `previewTemplate` if not set will default to:
 ```html
 ```html