Skip to content

Commit

Permalink
Corrected template documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed Jun 15, 2014
1 parent a646cc6 commit 6d477b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ _string_ any additional CSS class to append to the main plugin container.
#### mainTemplate
_string_ the template used to render the widget. The following template variables will be parsed:

- `{class}`: the <code>mainClass</code> property.
- `{class}`: the CSS class as set in the `mainClass` property.
- `{preview}`: the content parsed by the `previewTemplate` and will be displayed only if `showPreview` is `true`.
- `{caption}`: the content parsed by the `captionTemplate` and will be displayed only if `showCaption` is `true`.
- `{remove}`: the file remove/clear button and will be displayed only if `showRemove` is `true`.
Expand Down Expand Up @@ -198,7 +198,7 @@ files passed in `initialPreview`.
#### captionTemplate
_string_ the template used to render the caption. The following template variables will be parsed:

- `{class}`: the `captionClass` property.
- `{class}`: the CSS class as set in the `captionClass` property.

The `captionTemplate` if not set will default to:
```html
Expand All @@ -210,7 +210,7 @@ The `captionTemplate` if not set will default to:
#### previewTemplate
_string_ the template used to render the preview. The following template variables will be parsed:

- `{class}`: the `previewClass` property.
- `{class}`: the CSS class as set in the `previewClass` property.

The `previewTemplate` if not set will default to:
```html
Expand Down

0 comments on commit 6d477b7

Please sign in to comment.