bottom-dock

Generic bottom dock for quick panel development

benjaminRomano

27,452

85

0.4.4

MIT

GitHub

This package provides the following services:

This package consumes the following services:

bottom-dock package

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

Features:

Commands:

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