@itwin/frontend-devtools
Version:
Debug menu and supporting UI widgets
28 lines • 744 B
TypeScript
/** @packageDocumentation
* @module Controls
*/
/** @alpha */
export interface DataListEntry {
value: number | string | undefined;
}
/** @alpha */
export type DataListHandler = (list: HTMLDataListElement) => void;
/** @alpha */
export interface DataListProps {
name?: string;
id: string;
entries: DataListEntry[];
parent?: HTMLElement;
handler?: DataListHandler;
inline?: boolean;
}
/** @alpha */
export interface DataList {
list: HTMLDataListElement;
div: HTMLDivElement;
}
/** @alpha */
export declare function appendDataListEntries(dl: DataList, entries: DataListEntry[]): void;
/** @alpha */
export declare function createDataList(props: DataListProps): DataList;
//# sourceMappingURL=DataList.d.ts.map