Skip to content

Commit 8fc5cee

Browse files
committed
Update components.d.ts
1 parent 6b74b52 commit 8fc5cee

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/components.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,14 @@ export namespace Components {
805805
* Specifies the distribution of the items in the flexible layout.
806806
*/
807807
"renders": FlexibleLayoutRenders;
808+
/**
809+
* Update the selected widget from a `"tabbed"` type leaf. Only works if the parent leaf is `"tabbed"` type.
810+
*/
811+
"updateSelectedWidget": (parentLeafId: string, newSelectedWidgetId: string) => Promise<void>;
812+
/**
813+
* Update the widget info.
814+
*/
815+
"updateWidgetInfo": (widgetId: string, properties: Partial<Omit<FlexibleLayoutWidget, "id" | "wasRendered">>) => Promise<void>;
808816
}
809817
interface ChFormCheckbox {
810818
/**

0 commit comments

Comments
 (0)