mirror of
https://github.com/atom/atom.git
synced 2026-02-03 19:25:06 -05:00
Add Dock component
This commit is contained in:
@@ -19,6 +19,12 @@ class PanelContainerElement extends HTMLElement {
|
||||
this.subscriptions.add(this.model.onDidAddPanel(this.panelAdded.bind(this)))
|
||||
this.subscriptions.add(this.model.onDidDestroy(this.destroyed.bind(this)))
|
||||
this.classList.add(this.model.getLocation())
|
||||
|
||||
// Add the dock.
|
||||
if (this.model.dock != null) {
|
||||
this.appendChild(this.views.getView(this.model.dock))
|
||||
}
|
||||
|
||||
return this
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user