GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs: add skeleton.getAreaItems docs · Gpia/lowcode-engine@2bf3aa7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docs/docs/api
    • skeleton.md
  • packages/types/src/shell/api
    • skeleton.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs/docs/api/skeleton.md‎

Copy file name to clipboardExpand all lines: docs/docs/api/skeleton.md
+17Lines changed: 17 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,24 @@ showArea(areaName: string): void;
297297
hideArea(areaName: string): void;
298298
```
299299

300+
### getAreaItems
301+
302+
获取某个区域下的所有面板实例
303+
304+
```typescript
305+
/**
306+
* 获取某个区域下的所有面板实例
307+
* @param areaName IPublicTypeWidgetConfigArea
308+
*/
309+
getAreaItems(areaName: IPublicTypeWidgetConfigArea): IPublicModelSkeletonItem[] | undefined;
310+
```
311+
312+
相关类型:[IPublicModelSkeletonItem](https://github.com/alibaba/lowcode-engine/blob/main/packages/shell/src/model/skeleton-item.ts)
313+
314+
315+
300316
### registerConfigTransducer
317+
301318
注册一个面板的配置转换器(transducer)。
302319

303320
```typescript
Collapse file

‎packages/types/src/shell/api/skeleton.ts‎

Copy file name to clipboardExpand all lines: packages/types/src/shell/api/skeleton.ts
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { IPublicModelSkeletonItem } from '../model';
2-
import { IPublicTypeConfigTransducer, IPublicTypeDisposable, IPublicTypeSkeletonConfig } from '../type';
2+
import { IPublicTypeConfigTransducer, IPublicTypeDisposable, IPublicTypeSkeletonConfig, IPublicTypeWidgetConfigArea } from '../type';
33

44
export interface IPublicApiSkeleton {
55

@@ -20,6 +20,12 @@ export interface IPublicApiSkeleton {
2020
*/
2121
remove(config: IPublicTypeSkeletonConfig): number | undefined;
2222

23+
/**
24+
* 获取某个区域下的所有面板实例
25+
* @param areaName IPublicTypeWidgetConfigArea
26+
*/
27+
getAreaItems(areaName: IPublicTypeWidgetConfigArea): IPublicModelSkeletonItem[] | undefined;
28+
2329
/**
2430
* 获取面板实例
2531
* @param name 面板名称

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.