Home > SYS_PanelControl > openBottomPanel
SYS_PanelControl.openBottomPanel() method
Open the bottom panel
Signature
typescript
function openBottomPanel(tab?: ESYS_BottomPanelTab): void;1
Parameters
Parameter | Type | Description |
|---|---|---|
tab | (Optional) Tab. If not specified, the tab will not be switched |
Returns
void
Example
javascript
// 1. 打开底部面板并切换到日志标签页('log' 不依赖文档类型,最通用)
eda.sys_PanelControl.openBottomPanel('log');
console.log('底部面板已展开,并切换到日志标签页');
// 2. 收起面板还原界面(自建自删,保证案例可重复运行)
eda.sys_PanelControl.closeBottomPanel();
console.log('底部面板已收起,界面还原');1
2
3
4
5
6
7
2
3
4
5
6
7