mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat(multi-select): expose highlightedId
and fix highlighting for filterable variant (#1153)
This commit is contained in:
parent
853942f998
commit
9215e3b106
4 changed files with 39 additions and 23 deletions
6
types/MultiSelect/MultiSelect.svelte.d.ts
vendored
6
types/MultiSelect/MultiSelect.svelte.d.ts
vendored
|
@ -217,6 +217,12 @@ export interface MultiSelectProps
|
|||
* @default null
|
||||
*/
|
||||
selectionRef?: null | HTMLDivElement;
|
||||
|
||||
/**
|
||||
* Id of the highlighted ListBoxMenuItem
|
||||
* @default null
|
||||
*/
|
||||
highlightedId?: null | MultiSelectItemId;
|
||||
}
|
||||
|
||||
export default class MultiSelect extends SvelteComponentTyped<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue