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

Source:
Overrides:

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

Type:

folders :Array

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

searchString :String

Source:
Overrides:

The search string currently being filtered for

Type:

tabName :string

Source:
Overrides:

The base name of this sidebar tab

Type:
  • string

Methods

_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

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

render()

Source:
Inherited From:

renderPopout()

Source:
Overrides:

Render the SidebarTab as a pop-out container