feat(Select)!: dispatch update instead of input

Adjust Select docs to use native change event handling.
This commit is contained in:
Enrico Sacchetti 2022-12-12 11:34:55 -05:00
commit 1b54825c85
5 changed files with 13 additions and 9 deletions

View file

@ -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"];
},