浏览代码

Merge pull request #106 from thx2001r/patch-3

Added cache option for AJAX calls to Documentation
文翼 11 年之前
父节点
当前提交
d45e41a0db
共有 1 个文件被更改,包括 10 次插入1 次删除
  1. 10 1
      docs/docs.js

+ 10 - 1
docs/docs.js

@@ -169,6 +169,15 @@ $(function () {
                     example: 'basic-table'
                 },
                 {
+                    name: 'cache',
+                    attribute: 'data-cache',
+                    type: 'Boolean',
+                    description: 'False to disable caching of AJAX requests.',
+                    description_zh: '',
+                    'default': 'true',
+                    example: 'basic-table'
+                },
+                {
                     name: 'contentType',
                     attribute: 'data-content-type',
                     type: 'String',
@@ -705,4 +714,4 @@ $(function () {
 
     $(window).on('resize', initTables);
     initTables();
-});
+});