Skip to content

Commit 6d477b7

Browse files
committed
Corrected template documentation
1 parent a646cc6 commit 6d477b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ _string_ any additional CSS class to append to the main plugin container.
129129
#### mainTemplate
130130
_string_ the template used to render the widget. The following template variables will be parsed:
131131

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

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

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

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

215215
The `previewTemplate` if not set will default to:
216216
```html

0 commit comments

Comments
 (0)