feat(multi-select): export multiSelectRef, fieldRef, selectionRef

This commit is contained in:
Eric Y Liu 2021-07-09 11:46:54 -07:00
commit aa5200cff5
5 changed files with 69 additions and 7 deletions

View file

@ -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<