-
Notifications
You must be signed in to change notification settings - Fork 8
js extensions
js extensions are useful for things like
- dynamic widgets
- dynamic inputs
- combos subfolders
- color pickers
- canvas apps (e.g. OpenPose manipulation)
js extensions are installed in:
ComfyUI_windows_portable\ComfyUI\web\extensions
Good examples can be found on tinyterraNodes.
https://github.com/TinyTerra/ComfyUI_tinyterraNodes
In this example, the widgets displayed depend on the image_output option selected.
Example of a node with dynamic inputs in DrLtData's Impact Pack.
https://github.com/ltdrdata/ComfyUI-Impact-Pack
In this example, the number of inputs depend on the number od images connected.
Example of combo subfolders used on pythongosssss nodes.
https://github.com/pythongosssss/ComfyUI-Custom-Scripts
In this example, clicking on the widget will display subfolders in the \ComfyUI_windows_portable\ComfyUI\models\checkpoints folder.
Allows selection of colors from a button on the node.
Example of a color picker used on mtb nodes.
https://github.com/melMass/comfy_mtb
In this example, clicking on the color button opens the following popup.
Example of a canvass app for OpenPose manipulation in AlekPet Nodes.
https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet