mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 03:01:54 +00:00
Add socketless widget option (#958)
Declares `socketless` property on `IWidgetOptions`. - Ref: https://github.com/comfyanonymous/ComfyUI/pull/7714
This commit is contained in:
@@ -24,6 +24,8 @@ export interface IWidgetOptions<TValue = unknown> extends Record<string, unknown
|
|||||||
multiline?: boolean
|
multiline?: boolean
|
||||||
// TODO: Confirm this
|
// TODO: Confirm this
|
||||||
property?: string
|
property?: string
|
||||||
|
/** If `true`, an input socket will not be created for this widget. */
|
||||||
|
socketless?: boolean
|
||||||
|
|
||||||
values?: TValue[]
|
values?: TValue[]
|
||||||
callback?: IWidget["callback"]
|
callback?: IWidget["callback"]
|
||||||
|
|||||||
Reference in New Issue
Block a user