feat: rebuild types, component api

This commit is contained in:
Eric Liu 2021-09-06 09:52:00 -07:00
commit e39efc5668
5 changed files with 52 additions and 25 deletions

View file

@ -154,4 +154,10 @@ export default class ComboBox extends SvelteComponentTyped<
scroll: WindowEventMap["scroll"];
},
{}
> {}
> {
/**
* Clear the combo box programmatically
* @default () => { selectedIndex = -1; highlightedIndex = -1; open = false; inputValue = ""; ref?.focus(); }
*/
clear: () => void;
}