UNPKG

@itwin/frontend-devtools

Version:

Debug menu and supporting UI widgets

30 lines 681 B
/** @packageDocumentation * @module Controls */ /** Wraps an HTML button * @alpha */ export interface Button { button: HTMLInputElement; div: HTMLElement; } /** Callback invoked by Button when clicked. * @alpha */ export type ButtonHandler = (button: HTMLInputElement) => void; /** Describes how to create a Button. * @alpha */ export interface ButtonProps { handler: ButtonHandler; id?: string; parent?: HTMLElement; value: string; inline?: boolean; tooltip?: string; } /** Creates a Button as specified by the ButtonProps. * @alpha */ export declare function createButton(props: ButtonProps): Button; //# sourceMappingURL=Button.d.ts.map