File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
src/components/flexible-layout Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,41 @@ Type: `Promise<void>`
9898
9999
100100
101+ ### ` updateSelectedWidget(parentLeafId: string, newSelectedWidgetId: string) => Promise<void> `
102+
103+ Update the selected widget from a ` "tabbed" ` type leaf.
104+ Only works if the parent leaf is ` "tabbed" ` type.
105+
106+ #### Parameters
107+
108+ | Name | Type | Description |
109+ | --------------------- | -------- | ----------- |
110+ | ` parentLeafId ` | ` string ` | |
111+ | ` newSelectedWidgetId ` | ` string ` | |
112+
113+ #### Returns
114+
115+ Type: ` Promise<void> `
116+
117+
118+
119+ ### ` updateWidgetInfo(widgetId: string, properties: Partial<Omit<FlexibleLayoutWidget, "id" | "wasRendered">>) => Promise<void> `
120+
121+ Update the widget info.
122+
123+ #### Parameters
124+
125+ | Name | Type | Description |
126+ | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
127+ | ` widgetId ` | ` string ` | |
128+ | ` properties ` | ` { startImgSrc?: string; startImgType?: ImageRender; name?: string; renderId?: string; addWrapper?: boolean; conserveRenderState?: boolean; } ` | |
129+
130+ #### Returns
131+
132+ Type: ` Promise<void> `
133+
134+
135+
101136
102137## Dependencies
103138
You can’t perform that action at this time.
0 commit comments