SidebarComponent
class
Renders on the sidebar area of the ide.
Properties
| Name | Type | Description |
|---|---|---|
active? |
SidebarContainer |
Current active container |
bottom |
SidebarContainer[] |
Container aligned to the bottom of the activity bar |
role |
string |
|
side |
`"left" | "right"` |
size |
number |
Current size of the sidebar |
top |
SidebarContainer[] |
Container aligned to the top of the activity bar |
isEmpty |
unknown |
|
storageId |
unknown |
isActive()
Signature
isActive(view: SidebarContainer): booleanParameters
view(SidebarContainer) - The view to test.
Returns
boolean
ngOnDestroy()
Signature
ngOnDestroy(): voidReturns
void
ngOnInit()
Signature
ngOnInit(): voidReturns
void
reorder()
Signature
reorder(event: CdkDragDrop<SidebarContainer[]>): voidParameters
event(CdkDragDrop<SidebarContainer[]>)
Returns
void
setActive()
Signature
setActive(container: SidebarContainer, open?: boolean): Promise<void>Parameters
container(SidebarContainer) - The view to activate.open(boolean) - Whether to open the sidebar if it is closed.
Returns
Promise<void>
toggle()
Signature
toggle(): voidReturns
void