mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 20:09:35 +00:00
docs: add dispatched event details
Brought in part by sveld 0.18
This commit is contained in:
parent
1b54825c85
commit
1627fa023f
5 changed files with 38 additions and 9 deletions
1
types/Pagination/Pagination.svelte.d.ts
vendored
1
types/Pagination/Pagination.svelte.d.ts
vendored
|
@ -103,6 +103,7 @@ export interface PaginationProps
|
|||
export default class Pagination extends SvelteComponentTyped<
|
||||
PaginationProps,
|
||||
{
|
||||
/** Dispatched after any user interaction */
|
||||
change: CustomEvent<{ page?: number; pageSize?: number }>;
|
||||
["click:button--previous"]: CustomEvent<{ page: number }>;
|
||||
["click:button--next"]: CustomEvent<{ page: number }>;
|
||||
|
|
2
types/Select/Select.svelte.d.ts
vendored
2
types/Select/Select.svelte.d.ts
vendored
|
@ -109,7 +109,7 @@ export interface SelectProps
|
|||
export default class Select extends SvelteComponentTyped<
|
||||
SelectProps,
|
||||
{
|
||||
update: CustomEvent<string | number>;
|
||||
/** The selected value. */ update: CustomEvent<string | number>;
|
||||
change: WindowEventMap["change"];
|
||||
input: WindowEventMap["input"];
|
||||
focus: WindowEventMap["focus"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue