From 55a0fcb3f2920ef3f9c5e30492cccdea47da88de Mon Sep 17 00:00:00 2001 From: Wliu <50Wliu@users.noreply.github.com> Date: Tue, 6 Jun 2017 23:33:46 -0400 Subject: [PATCH] :memo: Document pane location methods in Workspace --- src/workspace.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/workspace.js b/src/workspace.js index 53f7f5c62..6dcc9fcc7 100644 --- a/src/workspace.js +++ b/src/workspace.js @@ -1548,22 +1548,27 @@ module.exports = class Workspace extends Model { Section: Pane Locations */ + // Essential: Get the {WorkspaceCenter} at the center of the editor window. getCenter () { return this.paneContainers.center } + // Essential: Get the {Dock} to the left of the editor window. getLeftDock () { return this.paneContainers.left } + // Essential: Get the {Dock} to the right of the editor window. getRightDock () { return this.paneContainers.right } + // Essential: Get the {Dock} below the editor window. getBottomDock () { return this.paneContainers.bottom } + // Essential: Get an {Array} of the current {WorkspaceCenter} and {Dock}s. getPaneContainers () { return [ this.paneContainers.center,