Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion docs/API-Reference/view/PanelView.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,18 @@ The editor holder element, passed from WorkspaceManager
## \_recomputeLayout : <code>function</code>
recomputeLayout callback from WorkspaceManager

**Kind**: global variable
<a name="_defaultPanelId"></a>

## \_defaultPanelId : <code>string</code> \| <code>null</code>
The default/quick-access panel ID

**Kind**: global variable
<a name="_$addBtn"></a>

## \_$addBtn : <code>jQueryObject</code>
The "+" button inside the tab overflow area

**Kind**: global variable
<a name="EVENT_PANEL_HIDDEN"></a>

Expand Down Expand Up @@ -205,10 +217,16 @@ during drag without being overly sensitive.
Minimum panel height (matches Resizer minSize) used as a floor
when computing a sensible restore height.

**Kind**: global constant
<a name="PREF_BOTTOM_PANEL_MAXIMIZED"></a>

## PREF\_BOTTOM\_PANEL\_MAXIMIZED
Preference key for persisting the maximize state across reloads.

**Kind**: global constant
<a name="init"></a>

## init($container, $tabBar, $tabsOverflow, $editorHolder, recomputeLayoutFn)
## init($container, $tabBar, $tabsOverflow, $editorHolder, recomputeLayoutFn, defaultPanelId)
Initializes the PanelView module with references to the bottom panel container DOM elements.
Called by WorkspaceManager during htmlReady.

Expand All @@ -221,6 +239,7 @@ Called by WorkspaceManager during htmlReady.
| $tabsOverflow | <code>jQueryObject</code> | The scrollable area holding tab elements. |
| $editorHolder | <code>jQueryObject</code> | The editor holder element (for maximize height calculation). |
| recomputeLayoutFn | <code>function</code> | Callback to trigger workspace layout recomputation. |
| defaultPanelId | <code>string</code> | The ID of the default/quick-access panel. |

<a name="exitMaximizeOnResize"></a>

Expand Down
Loading
Loading