mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-06-08 07:07:14 +00:00
[NodeDef] Add documentation on widgetType (#7768)
* [NodeDef] Add documentation on widgetType * Document required version for widgetType
This commit is contained in:
parent
f935d42d8e
commit
78992c4b25
@ -120,6 +120,10 @@ class InputTypeOptions(TypedDict):
|
||||
Available from frontend v1.17.5
|
||||
Ref: https://github.com/Comfy-Org/ComfyUI_frontend/pull/3548
|
||||
"""
|
||||
widgetType: NotRequired[str]
|
||||
"""Specifies a type to be used for widget initialization if different from the input type.
|
||||
Available from frontend v1.18.0
|
||||
https://github.com/Comfy-Org/ComfyUI_frontend/pull/3550"""
|
||||
# class InputTypeNumber(InputTypeOptions):
|
||||
# default: float | int
|
||||
min: NotRequired[float]
|
||||
|
Loading…
x
Reference in New Issue
Block a user