File tree Expand file tree Collapse file tree
packages/autocomplete-js/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,16 +40,16 @@ type GetSources<TItem> = (
4040export interface AutocompleteOptions < TItem >
4141 extends PublicAutocompleteCoreOptions < TItem > {
4242 container : string | HTMLElement ;
43- render ( params : {
44- root : HTMLElement ;
45- sections : HTMLElement [ ] ;
46- state : AutocompleteState < TItem > ;
47- } ) : void ;
4843 getSources : GetSources < TItem > ;
4944 /**
5045 * @default "input-wrapper-width"
5146 */
52- dropdownPlacement : 'start' | 'end' | 'full-width' | 'input-wrapper-width' ;
47+ dropdownPlacement ?: 'start' | 'end' | 'full-width' | 'input-wrapper-width' ;
48+ render ?( params : {
49+ root : HTMLElement ;
50+ sections : HTMLElement [ ] ;
51+ state : AutocompleteState < TItem > ;
52+ } ) : void ;
5353}
5454
5555export interface AutocompleteApi < TItem > extends AutocompleteSetters < TItem > {
You can’t perform that action at this time.
0 commit comments