Skip to content

@gausszhou/litegraph-core / WidgetCallback

Type Alias: WidgetCallback<T> ​

ts
type WidgetCallback<T> = (this, value, graphCanvas, node, pos, event?) => void;

Defined in: packages/core/src/IWidget.ts:6

Type Parameters ​

T ​

T extends IWidget

Parameters ​

this ​

T

value ​

T["value"]

graphCanvas ​

LGraphCanvas

node ​

LGraphNode

pos ​

Vector2

event? ​

MouseEvent

Returns ​

void

Released under the MIT License.