mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
supersead PR #1260
This commit is contained in:
parent
2f406f0328
commit
451de06dd0
4 changed files with 70 additions and 47 deletions
12
types/AutoComplete/AutoComplete.svelte.d.ts
vendored
12
types/AutoComplete/AutoComplete.svelte.d.ts
vendored
|
@ -35,6 +35,12 @@ export interface AutoCompleteProps
|
|||
*/
|
||||
selectedId?: AutoCompleteItemId;
|
||||
|
||||
/**
|
||||
* Specify the selected item
|
||||
* @default undefined
|
||||
*/
|
||||
selectedItem?: AutoCompleteItem;
|
||||
|
||||
/**
|
||||
* Specify the type of dropdown
|
||||
* @default "default"
|
||||
|
@ -119,6 +125,12 @@ export interface AutoCompleteProps
|
|||
*/
|
||||
hideLabel?: boolean;
|
||||
|
||||
/**
|
||||
* Override the default translation ids
|
||||
* @default undefined
|
||||
*/
|
||||
translateWithId?: (id: any) => string;
|
||||
|
||||
/**
|
||||
* Set an id for the list box component
|
||||
* @default "ccs-" + Math.random().toString(36)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue