bottom-dock

0.1.1 • Public • Published

bottom-dock package

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

Features:

  • Hide/Show panel
  • Reize panel
  • Multiple panes
  • Manages active tab and pane
  • Easy refresh/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 {
  toggle(): void
  changePane(id: string): void
  refreshPane(id: string): void
  deletePane(id: string): void
  getPane(id: string): Pane //Where Pane extends DockPaneView
  addPane(pane: Pane, name: string): void
  getCurrentPane(): Pane
  refreshCurrentPane(): void
  deleteCurrentPane: void
  destroy: void //For internal use only
}
How to use

Create a new package that consumes the BottomDockService

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

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

Package Sidebar

Install

npm i bottom-dock

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • benjaminromano