mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-22 15:54:09 +00:00
allow widget expand to fill available vertical space
This commit is contained in:
@@ -102,6 +102,11 @@ export interface DOMWidgetOptions<V extends object | string>
|
||||
*/
|
||||
beforeResize?: (this: BaseDOMWidget<V>, node: LGraphNode) => void
|
||||
afterResize?: (this: BaseDOMWidget<V>, node: LGraphNode) => void
|
||||
/**
|
||||
* Whether this widget needs vertical space (flex-1 layout).
|
||||
* When true, the widget will expand to fill available vertical space.
|
||||
*/
|
||||
needsVerticalSpace?: boolean
|
||||
}
|
||||
|
||||
export const isDOMWidget = <T extends HTMLElement, V extends object | string>(
|
||||
|
||||
Reference in New Issue
Block a user