Browse Source

Merge pull request #467 from Timmy72/master

Add doc for showPaginationSwitch option and togglePagination method.
文翼 11 years ago
parent
commit
9acd2cf402

+ 5 - 0
docs/_i18n/fr/documentation/methods.md

@@ -141,5 +141,10 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
         <td>none</td>
         <td>none</td>
         <td>Go to next page.</td>
         <td>Go to next page.</td>
     </tr>
     </tr>
+    <tr>
+        <td>togglePagination</td>
+        <td>none</td>
+        <td>Toggle the pagination option.</td>
+    </tr>
     </tbody>
     </tbody>
 </table>
 </table>

+ 7 - 0
docs/_i18n/fr/documentation/table-options.md

@@ -210,6 +210,13 @@ The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
         <td>When set pagination property, initialize the page size selecting list.</td>
         <td>When set pagination property, initialize the page size selecting list.</td>
     </tr>
     </tr>
     <tr>
     <tr>
+        <td>showPaginationSwitch </td>
+        <td>data-show-pagination-switch</td>
+        <td>Boolean</td>
+        <td>false</td>
+        <td>True to show the pagination switch button.</td>
+    </tr>
+    <tr>
         <td>selectItemName</td>
         <td>selectItemName</td>
         <td>data-select-item-name</td>
         <td>data-select-item-name</td>
         <td>String</td>
         <td>String</td>