mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
feat(pagination): dispatch change event
Whenever the user interacts with Pagination, `change` is dispatched
This commit is contained in:
parent
29a83c325c
commit
7e64ee57de
5 changed files with 29 additions and 9 deletions
|
@ -8405,8 +8405,8 @@
|
|||
"events": [
|
||||
{
|
||||
"type": "dispatched",
|
||||
"name": "update",
|
||||
"detail": "{ pageSize: number; page: number; }"
|
||||
"name": "change",
|
||||
"detail": "{ page?: number; pageSize?: number }"
|
||||
},
|
||||
{
|
||||
"type": "dispatched",
|
||||
|
@ -8417,6 +8417,11 @@
|
|||
"type": "dispatched",
|
||||
"name": "click:button--next",
|
||||
"detail": "{ page: number; }"
|
||||
},
|
||||
{
|
||||
"type": "dispatched",
|
||||
"name": "update",
|
||||
"detail": "{ pageSize: number; page: number; }"
|
||||
}
|
||||
],
|
||||
"typedefs": [],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue