@dazhicheng/ui 1.5.185 → 1.5.187
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -135,6 +135,12 @@ export declare class GroupFormApi extends FormApi {
|
|
|
135
135
|
* @param {string} key - 分组 key
|
|
136
136
|
*/
|
|
137
137
|
toggleCollapse(key: string): void;
|
|
138
|
+
/**
|
|
139
|
+
* @description 设置分组折叠状态
|
|
140
|
+
* @param {string} key - 分组 key
|
|
141
|
+
* @param {boolean} collapsed - 是否折叠
|
|
142
|
+
*/
|
|
143
|
+
setGroupCollapsed(key: string, collapsed: boolean): void;
|
|
138
144
|
/**
|
|
139
145
|
* @description 设置容器的可见性状态,由 GroupSection 组件在 ifShow 求值后调用。
|
|
140
146
|
* group 隐藏时额外维护 {@link hiddenGroupKeys} 供导航和渲染判断;
|