mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat: rebuild types, component api
This commit is contained in:
parent
dfc00f6668
commit
e39efc5668
5 changed files with 52 additions and 25 deletions
8
types/ComboBox/ComboBox.d.ts
vendored
8
types/ComboBox/ComboBox.d.ts
vendored
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue