소스 검색

Corrected template documentation

Kartik Visweswaran 11 년 전
부모
커밋
a646cc6fbc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -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}`: any additional CSS class to append to the main widget container.
+- `{class}`: the <code>mainClass</code> 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`.