浏览代码

Update README.md

文翼 11 年之前
父节点
当前提交
2b098549f4
共有 1 个文件被更改,包括 12 次插入5 次删除
  1. 12 5
      src/extensions/export/README.md

+ 12 - 5
src/extensions/export/README.md

@@ -10,12 +10,19 @@ Use Plugin: [tableExport.jquery.plugin](https://github.com/kayalshri/tableExport
 
 ## Options
 
-* showExport: set `true` to show export button, default: `true`.
+### showExport
 
-* exportTypes: export types, default: `['json', 'xml', 'csv', 'txt', 'sql', 'excel']`
-support types: `'json', 'xml', 'png', 'csv', 'txt', 'sql', 'doc', 'excel', 'powerpoint', 'pdf'`
+* type: Boolean
+* description: set `true` to show export button.
+* default: `true`
 
-## Examples
+### exportTypes
+
+* type: Array
+* description: export types, support types: 'json', 'xml', 'png', 'csv', 'txt', 'sql', 'doc', 'excel', 'powerpoint', 'pdf'.
+* default: `['json', 'xml', 'csv', 'txt', 'sql', 'excel']`
+
+## [Examples](http://wenzhixin.net.cn/p/bootstrap-table/docs/extensions.html#export)
 
 ```html
 <script src="assets/table-export/tableExport.js"></script>
@@ -38,4 +45,4 @@ support types: `'json', 'xml', 'png', 'csv', 'txt', 'sql', 'doc', 'excel', 'powe
     </tr>
     </thead>
 </table>
-```
+```