bottom-dock
v0.1.1
Published
Generic bottom dock for quick panel development
Downloads
6
Maintainers
Readme
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
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