NgDocSidebarService
Decorators: | @UntilDestroy |
Service for sidebar, it can be used to hide/show sidebar or to check if sidebar is collapsable.
Constructor
No documentation has been provided. |
Presentation
|
Properties
Name | Type | Description |
---|---|---|
document p r | Document | |
expanded p r |
| |
router p r |
| |
scroll p r |
| |
window p r | Window |
Accessors
get isMobile |
---|
No documentation has been provided. |
Presentation
|
Type
|
Methods
hide() |
---|
Hide sidebar, and unblock scrolling. |
Presentation
|
Returnsvoid |
isExpanded() |
---|
Indicates if sidebar is visible, based on the show/hide methods. |
Presentation
|
Returns
|
show() |
---|
Show sidebar, and block scrolling. |
Presentation
|
Returnsvoid |
toggle() |
---|
Toggle sidebar visibility. |
Presentation
|
Returnsvoid |