We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da907d4 commit 48004e1Copy full SHA for 48004e1
docs/README.md
@@ -189,7 +189,19 @@ paginator({
189
firstPageTitle: 'Go to first', // the title of first page button
190
lastPageTitle: 'Go to last', // the title of last page button
191
hideSizePerPage: true, // hide the size per page dorpdown
192
- hidePageListOnlyOnePage: true// hide pagination bar when only one page, default is false
+ hidePageListOnlyOnePage: true, // hide pagination bar when only one page, default is false
193
+ onPageChange: (page, sizePerPage) => {}, // callback function when page was changing
194
+ onSizePerPageChange: (sizePerPage, page) => {}, // callback function when page size was changing
195
+})
196
+```
197
+
198
+When [`remote`](#remote) was enabled, the following **3** arguments were required.
199
200
+```js
201
+paginator({
202
+ page, // Indicate the current page number.
203
+ sizePerPage, // Indicate how many rows per page.
204
+ totalSize, // Total size of table rows.
205
})
206
```
207
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments