Members
(static) defaultOptions
_original :SidebarTab
Denote whether or not this is the original version of the sidebar tab, or a pop-out variant
Type:
(protected) _popout :SidebarTab
A reference to the pop-out variant of this SidebarTab, if one exists
Type:
tabName :string
The base name of this sidebar tab
Type:
- string
Methods
_onLazyLoadImage(entries, observer)
Handle lazy loading for sidebar images to only load them once they become observed
Parameters:
Name | Type | Description |
---|---|---|
entries |
Array.<HTMLElement> | The entries which are now observed |
observer |
IntersectionObserver | The intersection observer instance |
(async) _render()
(async) _renderInner()
activate()
Activate this SidebarTab, switching focus to it
(async) close()
createPopout() → {SidebarTab}
Create a second instance of this SidebarTab class which represents a singleton popped-out container
Returns:
The popped out sidebar tab instance
- Type
- SidebarTab
renderPopout()
Render the SidebarTab as a pop-out container