Skip to content

Commit

Permalink
fix(canary-docs): set IcPaginationBar to the first page when the item…
Browse files Browse the repository at this point in the history
…s per page changes

Add a setToFirstPageOnPaginationChange prop that will make the IcPaginationBar go to the first page
when the items per page changes

fix #2639
  • Loading branch information
dn55533 committed Jan 9, 2025
1 parent 41db085 commit 666442a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/canary-docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3697,6 +3697,28 @@
"optional": true,
"required": false
},
{
"name": "setToFirstPageOnPaginationChange",
"type": "boolean",
"complexType": {
"original": "boolean",
"resolved": "boolean",
"references": {}
},
"mutable": false,
"attr": "set-to-first-page-on-pagination-change",
"reflectToAttr": false,
"docs": "If `true`, the pagination bar is set to the first page when the 'items per page' changes",
"docsTags": [],
"default": "false",
"values": [
{
"type": "boolean"
}
],
"optional": true,
"required": false
},
{
"name": "showGoToPageControl",
"type": "boolean",
Expand Down

0 comments on commit 666442a

Please sign in to comment.