GeezerVison is showing github.com — Update skeleton.md · KellenHe/lowcode-engine@a09ef54
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: docs/docs/api/skeleton.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -156,7 +156,7 @@ IWidgetBaseConfig 定义如下: |
156 | 156 | | --- | --- | --- | |
157 | 157 | | name | 面板名称 | | |
158 | 158 | | area | 扩展区位置,可选值:'topArea' | 'leftArea' | 'rightArea' | 'toolbar' | 'bottomArea' | 'mainArea' | | |
159 | | -| type | 面板类型,可选值:'Widget' | 'PanelDock' | 'Panel' | 详见前文中对**展示类型**的描述 | |
| 159 | +| type | 面板类型,可选值:'Widget' | 'PanelDock' | 'Panel' | Dock | 详见前文中对**展示类型**的描述 | |
160 | 160 | | content | 面板的实现类/节点,类型是 ReactClass | ReactElement | | |
161 | 161 | | props | 面板属性 | align: 'top' | 'bottom' | 'left' | 'center' | 'right'; // 指定面板 icon 位置区域<br />icon: string | ReactElement; // icon 为字符串时,请确定当前 fusion 主题包中包含该 icon<br />description: string;<br />condition: Function; // 指定当前面板的显影状态 | |
162 | 162 | | contentProps | 面板的实现类/节点的参数 | | |
@@ -417,7 +417,7 @@ skeleton.disableWidget('sourceEditor'); |
417 | 417 | import { skeleton } from '@alilc/lowcode-engine'; |
418 | 418 |
|
419 | 419 | skeleton.add({ |
420 | | - name: 'bottomAreaPanelName', |
| 420 | + name: 'bottomAreaPanelName', |
421 | 421 | area: 'bottomArea', |
422 | 422 | type: 'Panel', |
423 | 423 | content: () => 'demoText', |
|