PlaylistDirectory

PlaylistDirectory

A directory listing of audio playlists

Constructor

new PlaylistDirectory()

Source:

Extends

Members

(static) collection

Source:

(static) defaultOptions

Source:

(static) entity

Source:

_expanded :Set

Source:

Track the playlist IDs which are currently expanded in their display

Type:
  • Set

_original :SidebarTab

Source:
Overrides:

Denote whether or not this is the original version of the sidebar tab, or a pop-out variant

Type:

entities :Array.<Entity>

Source:
Overrides:

References to the set of Entities which are displayed in the Sidebar

Type:

folders :Array.<Folder>

Source:
Overrides:

Reference the set of Folders which exist in this Sidebar

Type:

playing

Source:

Return an Array of the Playlist entities which are currently playing

tabName :string

Source:
Overrides:

The base name of this sidebar tab

Type:
  • string

Methods

_onDragHighlight(event)

Source:
Overrides:

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:
Overrides:

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:
Overrides:

Activate this SidebarTab, switching focus to it

activateListeners()

Source:
Overrides:

Activate event listeners triggered within the Actor Directory HTML

collapseAll()

Source:
Overrides:

Collapse all subfolders in this directory

createPopout() → {SidebarTab}

Source:
Overrides:

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() → {Object}

Source:
Overrides:

Prepare the data used to render the AudioList application

Returns:
Type
Object

initialize()

Source:
Overrides:

Initialize the content of the directory by categorizing folders and entities into a hierarchical tree structure.

render()

Source:
Inherited From:

renderPopout()

Source:
Overrides:

Render the SidebarTab as a pop-out container