mirror of
https://github.com/atom/atom.git
synced 2026-02-06 12:44:59 -05:00
Mention dock getters in Dock docs
This commit is contained in:
@@ -15,7 +15,9 @@ const TOGGLE_BUTTON_VISIBLE_CLASS = 'atom-dock-toggle-button-visible'
|
||||
const CURSOR_OVERLAY_VISIBLE_CLASS = 'atom-dock-cursor-overlay-visible'
|
||||
|
||||
// Extended: A container at the edges of the editor window capable of holding items.
|
||||
// You should not create a `Dock` directly, instead use {Workspace::open}.
|
||||
// You should not create a Dock directly. Instead, access one of the three docks of the workspace
|
||||
// via {::getLeftDock}, {::getRightDock}, and {::getBottomDock} or add an item to a dock via
|
||||
// {Workspace::open}.
|
||||
module.exports = class Dock {
|
||||
constructor (params) {
|
||||
this.handleResizeHandleDragStart = this.handleResizeHandleDragStart.bind(this)
|
||||
|
||||
Reference in New Issue
Block a user