mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-01 22:09:55 +00:00
Document registerCustomNodes (#772)
This commit is contained in:
4
src/types/comfy.d.ts
vendored
4
src/types/comfy.d.ts
vendored
@@ -66,7 +66,9 @@ export interface ComfyExtension {
|
||||
beforeRegisterVueAppNodeDefs?(defs: ComfyNodeDef[], app: ComfyApp): void
|
||||
|
||||
/**
|
||||
* Allows the extension to register additional nodes with LGraph after standard nodes are added
|
||||
* Allows the extension to register additional nodes with LGraph after standard nodes are added.
|
||||
* Custom node classes should extend **LGraphNode**.
|
||||
*
|
||||
* @param app The ComfyUI app instance
|
||||
*/
|
||||
registerCustomNodes?(app: ComfyApp): Promise<void>
|
||||
|
||||
Reference in New Issue
Block a user