mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
Experimental Editor component
This commit is contained in:
parent
5afb16f953
commit
8b8ffbf79a
14 changed files with 3597 additions and 4215 deletions
9
types/AutoComplete/AutoComplete.svelte.d.ts
vendored
9
types/AutoComplete/AutoComplete.svelte.d.ts
vendored
|
@ -32,9 +32,9 @@ export interface AutoCompleteProps
|
|||
|
||||
/**
|
||||
* Determine if an item should be filtered given the current combobox value
|
||||
* @default () => []
|
||||
* @default () => {}
|
||||
*/
|
||||
shouldFilterItem?: (value: string) => AutoCompleteItem[];
|
||||
shouldFilterItem?: (value: string) => {};
|
||||
|
||||
/**
|
||||
* Specify the direction of the dropdown menu
|
||||
|
@ -143,6 +143,11 @@ export interface AutoCompleteProps
|
|||
* @default null
|
||||
*/
|
||||
listRef?: null | HTMLDivElement;
|
||||
|
||||
/**
|
||||
* @default []
|
||||
*/
|
||||
filteredItems?: [];
|
||||
}
|
||||
|
||||
export default class AutoComplete extends SvelteComponentTyped<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue