20 lines
779 B
TypeScript
20 lines
779 B
TypeScript
import * as React from 'react';
|
|
import type { IComboBoxProps, IComboBox, IComboBoxOption } from './ComboBox.types';
|
|
import type { JSXElement } from '@fluentui/utilities';
|
|
export declare class VirtualizedComboBox extends React.Component<IComboBoxProps, {}> implements IComboBox {
|
|
/** The combo box element */
|
|
private _comboBox;
|
|
/** The virtualized list element */
|
|
private _list;
|
|
constructor(props: IComboBoxProps);
|
|
/**
|
|
* All selected options
|
|
*/
|
|
get selectedOptions(): IComboBoxOption[];
|
|
dismissMenu(): void;
|
|
focus(shouldOpenOnFocus?: boolean, useFocusAsync?: boolean): boolean;
|
|
render(): JSXElement;
|
|
protected _onRenderList: (props: IComboBoxProps) => JSXElement;
|
|
protected _onScrollToItem: (itemIndex: number) => void;
|
|
}
|