SidebarView
Import :
const SidebarView = brackets.getModule("project/SidebarView")
AppInit
The view that controls the showing and hiding of the sidebar.
Although the sidebar view doesn't dispatch any events directly, it is a resizable element (../utils/Resizer.js), which means it can dispatch Resizer events. For example, if you want to listen for the sidebar showing or hiding itself, set up listeners for the corresponding Resizer events, panelCollapsed and panelExpanded:
$("#sidebar").on("panelCollapsed", ...); $("#sidebar").on("panelExpanded", ...);
Kind: global variable
toggle()
Toggle sidebar visibility.
Kind: global function
show()
Show the sidebar.
Kind: global function
hide()
Hide the sidebar.
Kind: global function
isVisible() ⇒ boolean
Returns the visibility state of the sidebar.
Kind: global function
Returns: boolean
- true if element is visible, false if it is not visible