Extends
Members
(static) collection
- Source:
(static) entity
- Source:
_original :SidebarTab
- Source:
- Inherited From:
Denote whether or not this is the original version of the sidebar tab, or a pop-out variant
Type:
entities :Array.<Entity>
- Source:
- Inherited From:
References to the set of Entities which are displayed in the Sidebar
Type:
folders :Array.<Folder>
- Source:
- Inherited From:
Reference the set of Folders which exist in this Sidebar
Type:
tabName :string
- Source:
- Inherited From:
The base name of this sidebar tab
Type:
- string
Methods
(async) _onCreate()
- Source:
_onDragHighlight(event)
- Source:
- Inherited From:
Highlight folders as drop targets when a drag event enters or exits their area
Parameters:
Name | Type | Description |
---|---|---|
event |
DragEvent | The DragEvent which is in progress |
_onDragStart()
- Source:
- Inherited From:
_onDrop()
- Source:
- Inherited From:
_onLazyLoadImage(entries, observer)
- Source:
- Inherited From:
Handle lazy loading for sidebar images to only load them once they become observed
Parameters:
Name | Type | Description |
---|---|---|
entries |
||
observer |
_onSearchFilter()
- Source:
- Inherited From:
activate()
- Source:
- Inherited From:
Activate this SidebarTab, switching focus to it
activateListeners()
- Source:
- Inherited From:
Activate event listeners triggered within the Actor Directory HTML
collapseAll()
- Source:
- Inherited From:
Collapse all subfolders in this directory
createPopout() → {SidebarTab}
- Source:
- Inherited From:
Create a second instance of this SidebarTab class which represents a singleton popped-out container
Returns:
The popped out sidebar tab instance
- Type
- SidebarTab
getData()
- Source:
- Inherited From:
initialize()
- Source:
- Inherited From:
Initialize the content of the directory by categorizing folders and entities into a hierarchical tree structure.
render()
- Source:
- Inherited From:
renderPopout()
- Source:
- Inherited From:
Render the SidebarTab as a pop-out container