Skip to content

Commit 90f37e6

Browse files
committed
chore: update API docs
1 parent ab1794c commit 90f37e6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/API-Reference/view/PanelView.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ Preference key for persisting the maximize state across reloads.
141141
* [.registerOnCloseRequestedHandler(handler)](#Panel+registerOnCloseRequestedHandler)
142142
* [.requestClose()](#Panel+requestClose) ⇒ <code>Promise.&lt;boolean&gt;</code>
143143
* [.show()](#Panel+show)
144+
* [.addToTabBar()](#Panel+addToTabBar)
144145
* [.hide()](#Panel+hide)
145146
* [.focus()](#Panel+focus) ⇒ <code>boolean</code>
146147
* [.setVisible(visible)](#Panel+setVisible)
@@ -206,6 +207,14 @@ registered, `hide()` is called.
206207
### panel.show()
207208
Shows the panel
208209

210+
**Kind**: instance method of [<code>Panel</code>](#Panel)
211+
<a name="Panel+addToTabBar"></a>
212+
213+
### panel.addToTabBar()
214+
Adds the panel to the tab bar and open set without showing the container.
215+
Use this during startup to restore a panel's tab when the container
216+
was collapsed by the user — avoids forcing the bottom panel open.
217+
209218
**Kind**: instance method of [<code>Panel</code>](#Panel)
210219
<a name="Panel+hide"></a>
211220

0 commit comments

Comments
 (0)