Browse Source

Update the docs.

zhixin 11 years ago
parent
commit
64dd4783ec
1 changed files with 17 additions and 1 deletions
  1. 17 1
      docs/docs.js

+ 17 - 1
docs/docs.js

@@ -230,6 +230,22 @@ $(function () {
                     example: 'show-columns-table'
                     example: 'show-columns-table'
                 },
                 },
                 {
                 {
+                    name: 'showRefresh',
+                    attribute: 'data-show-refresh',
+                    type: 'Boolean',
+                    description: 'True to show the refresh button.',
+                    'default': 'false',
+                    example: 'basic-toolbar-table'
+                },
+                {
+                    name: 'showToggle',
+                    attribute: 'data-show-toggle',
+                    type: 'Boolean',
+                    description: 'True to show the toggle button to toggle table / card view.',
+                    'default': 'false',
+                    example: 'basic-toolbar-table'
+                },
+                {
                     name: 'minimunCountColumns',
                     name: 'minimunCountColumns',
                     attribute: 'data-minimun-count-columns',
                     attribute: 'data-minimun-count-columns',
                     type: 'Number',
                     type: 'Number',
@@ -275,7 +291,7 @@ $(function () {
                     type: 'String',
                     type: 'String',
                     description: 'A jQuery selector that indicate the toolbar, for example: <br>#toolbar, .toolbar.',
                     description: 'A jQuery selector that indicate the toolbar, for example: <br>#toolbar, .toolbar.',
                     'default': 'undefined',
                     'default': 'undefined',
-                    example: 'transform-table'
+                    example: 'custom-toolbar-table'
                 },
                 },
                 {
                 {
                     name: 'checkboxHeader',
                     name: 'checkboxHeader',