• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

bottom-dock

Generic bottom dock for quick panel development
  • #generic
  • #bottom
  • #dock
  • #panel
benjaminRomano
0.4.4 26,457
85
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

bottom-dock package

bottom-dock is an extendable panel which helps simplify creating panels.

Features:

  • Hide/Show panel
  • Resize panel
  • Multiple panes
  • Manages active tab and pane
  • Easy add/delete pane

Commands:

  • ctrl-k ctrl-t: toggles panel
  • ctrl-k ctrl-r: refreshes window
  • ctrl-k ctrl-c: closes window

image

BottomDockService API

class BottomDockService {
  isActive(): boolean
  toggle(): void
  changePane(id: string): void
  deletePane(id: string): void
  getPane(id: string): Pane //Where Pane extends DockPaneView 
  addPane(pane: Pane, tab: TabButton, isInitial?: boolean): void
  getCurrentPane(): Pane
  deleteCurrentPane: void
  onDidChangePane(callback: (id: string) => void): Disposable
  onDidDeletePane(callback: (id: string) => void): Disposable
  onDidAddPane(callback: (id: string) => void): Disposable
  onDidFinishResizing(callback: () => void): Disposable
  onDidToggle(callback: () => void): Disposable
  paneCount(): number
}
How to use

Create a new package that consumes the BottomDockService

Extend the DockPaneView from the atom-bottom-dock npm package

Look at Gulp Manager for an example on how to use the api

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by