Download rgthree-comfy/src_web/scripts_comfy/ui/components/button.ts from quangle97/comfyui-global-custom-nodes: direct link, hf CLI and curl.
- Browser
- Download file 589 Bytes
-
https://huggingface.co/quangle97/comfyui-global-custom-nodes/resolve/main/rgthree-comfy/src_web/scripts_comfy/ui/components/button.ts
- Command line
-
hf download hf://quangle97/comfyui-global-custom-nodes/rgthree-comfy/src_web/scripts_comfy/ui/components/button.ts
-
curl -L -o button.ts https://huggingface.co/quangle97/comfyui-global-custom-nodes/resolve/main/rgthree-comfy/src_web/scripts_comfy/ui/components/button.ts
589 Bytes
| import {ComfyApp} from "@comfyorg/frontend"; | |
| type ComfyButtonProps = { | |
| icon?: string; | |
| overIcon?: string; | |
| iconSize?: number; | |
| content?: string | HTMLElement; | |
| tooltip?: string; | |
| enabled?: boolean; | |
| action?: (e: Event, btn: ComfyButton) => void; | |
| classList?: string; | |
| visibilitySetting?: {id: string; showValue: any}; | |
| app?: ComfyApp; | |
| }; | |
| export declare class ComfyButton { | |
| element: HTMLElement; | |
| iconElement: HTMLElement; | |
| contentElement: HTMLElement; | |
| constructor(props: ComfyButtonProps); | |
| updateIcon(): void; | |
| withPopup(popup: any, mode: "click" | "hover"): this; | |
| } | |