@itwin/frontend-devtools
Version:
Debug menu and supporting UI widgets
29 lines • 714 B
TypeScript
/** @packageDocumentation
* @module Controls
*/
/** @alpha */
export interface ComboBoxEntry {
name: string;
value: number | string | undefined;
}
/** @alpha */
export type ComboBoxHandler = (select: HTMLSelectElement) => void;
/** @alpha */
export interface ComboBoxProps {
name?: string;
id: string;
entries: ComboBoxEntry[];
parent?: HTMLElement;
handler?: ComboBoxHandler;
value?: number | string;
tooltip?: string;
}
/** @alpha */
export interface ComboBox {
label?: HTMLLabelElement;
select: HTMLSelectElement;
div: HTMLDivElement;
}
/** @alpha */
export declare function createComboBox(props: ComboBoxProps): ComboBox;
//# sourceMappingURL=ComboBox.d.ts.map