mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
feat(multi-select): export multiSelectRef, fieldRef, selectionRef
This commit is contained in:
parent
b8786956e2
commit
aa5200cff5
5 changed files with 69 additions and 7 deletions
2
types/FormGroup/FormGroup.d.ts
vendored
2
types/FormGroup/FormGroup.d.ts
vendored
|
@ -35,7 +35,7 @@ export interface FormGroupProps
|
|||
|
||||
/**
|
||||
* Specify an id for the legend element
|
||||
* @default ''
|
||||
* @default ""
|
||||
*/
|
||||
legendId?: string;
|
||||
}
|
||||
|
|
18
types/MultiSelect/MultiSelect.d.ts
vendored
18
types/MultiSelect/MultiSelect.d.ts
vendored
|
@ -180,6 +180,24 @@ export interface MultiSelectProps
|
|||
* @default null
|
||||
*/
|
||||
inputRef?: null | HTMLInputElement;
|
||||
|
||||
/**
|
||||
* Obtain a reference to the outer div element
|
||||
* @default null
|
||||
*/
|
||||
multiSelectRef?: null | HTMLDivElement;
|
||||
|
||||
/**
|
||||
* Obtain a reference to the field box element
|
||||
* @default null
|
||||
*/
|
||||
fieldRef?: null | HTMLDivElement;
|
||||
|
||||
/**
|
||||
* Obtain a reference to the selection element
|
||||
* @default null
|
||||
*/
|
||||
selectionRef?: null | HTMLDivElement;
|
||||
}
|
||||
|
||||
export default class MultiSelect extends SvelteComponentTyped<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue