Files
rgthree-rgthree-comfy/src_web/scripts_comfy/ui/components/buttonGroup.ts
T

11 lines
388 B
TypeScript

import type {ComfyButton} from "scripts/ui/components/button.ts";
export declare class ComfyButtonGroup {
element: HTMLElement;
constructor(...buttons: Array<ComfyButton|HTMLDivElement>);
insert(button: ComfyButton, index: number): void;
append(button: ComfyButton): void;
remove(indexOrButton: ComfyButton|number): ComfyButton|HTMLElement|void;
update(): void;
};