Add refresh button to selecton toolbox (#2612)

This commit is contained in:
bymyself
2025-02-18 09:39:43 -07:00
committed by GitHub
parent 6441a86619
commit 3b3df250cd
6 changed files with 114 additions and 5 deletions

View File

@@ -22,6 +22,11 @@ declare module '@comfyorg/litegraph/dist/types/widgets' {
index: number
) => Promise<unknown> | unknown
/**
* Refreshes the widget's value or options from its remote source.
*/
refresh?: () => unknown
/**
* If the widget supports dynamic prompts, this will be set to true.
* See extensions/core/dynamicPrompts.ts