mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
feat(pagination): dispatch button click events to be consistent with PaginationNav
This commit is contained in:
parent
a3a4a02d94
commit
32effacb76
4 changed files with 24 additions and 4 deletions
6
types/Pagination/Pagination.d.ts
vendored
6
types/Pagination/Pagination.d.ts
vendored
|
@ -102,6 +102,10 @@ export interface PaginationProps
|
|||
|
||||
export default class Pagination extends SvelteComponentTyped<
|
||||
PaginationProps,
|
||||
{ update: CustomEvent<{ pageSize: number; page: number }> },
|
||||
{
|
||||
update: CustomEvent<{ pageSize: number; page: number }>;
|
||||
["click:button--previous"]: CustomEvent<{ page: number }>;
|
||||
["click:button--next"]: CustomEvent<{ page: number }>;
|
||||
},
|
||||
{}
|
||||
> {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue