mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
feat(Select)!: dispatch update instead of input
Adjust Select docs to use native change event handling.
This commit is contained in:
parent
059664ea93
commit
1b54825c85
5 changed files with 13 additions and 9 deletions
3
types/Select/Select.svelte.d.ts
vendored
3
types/Select/Select.svelte.d.ts
vendored
|
@ -109,8 +109,9 @@ export interface SelectProps
|
|||
export default class Select extends SvelteComponentTyped<
|
||||
SelectProps,
|
||||
{
|
||||
input: CustomEvent<string | number>;
|
||||
update: CustomEvent<string | number>;
|
||||
change: WindowEventMap["change"];
|
||||
input: WindowEventMap["input"];
|
||||
focus: WindowEventMap["focus"];
|
||||
blur: WindowEventMap["blur"];
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue