fix(combo-box): clear is a dispatched event

This commit is contained in:
metonym 2024-10-25 15:22:34 -07:00
commit 2d3e8a740d
5 changed files with 11 additions and 3 deletions

View file

@ -164,12 +164,12 @@ export default class ComboBox extends SvelteComponentTyped<
selectedId: ComboBoxItemId;
selectedItem: ComboBoxItem;
}>;
clear: CustomEvent<KeyboardEvent | MouseEvent>;
keydown: WindowEventMap["keydown"];
keyup: WindowEventMap["keyup"];
focus: WindowEventMap["focus"];
blur: WindowEventMap["blur"];
paste: DocumentAndElementEventHandlersEventMap["paste"];
clear: WindowEventMap["clear"];
scroll: WindowEventMap["scroll"];
},
{ default: { item: ComboBoxItem; index: number }; titleText: {} }