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

@ -123,6 +123,10 @@
highlightedIndex = index;
}
/**
* Clear the combo box programmatically
* @type {() => void}
*/
export function clear() {
selectedIndex = -1;
highlightedIndex = -1;