fix(select): forward missing focus, input events #501

Fixes #501
This commit is contained in:
Eric Y Liu 2021-07-14 13:04:26 -07:00
commit 6a7fdd183b
4 changed files with 14 additions and 1 deletions

View file

@ -99,6 +99,11 @@ export interface SelectProps
export default class Select extends SvelteComponentTyped<
SelectProps,
{ change: CustomEvent<string>; blur: WindowEventMap["blur"] },
{
change: CustomEvent<string>;
input: WindowEventMap["input"];
focus: WindowEventMap["focus"];
blur: WindowEventMap["blur"];
},
{ default: {}; labelText: {} }
> {}