Methods
(inner) addToPlaylist(target) → {void}
Adds the selected elements from the "add to playlist" modal to the playlist or queue
Parameters:
Name | Type | Description |
---|---|---|
target |
Element | triggering element |
- Source:
Returns:
- Type
- void
(inner) initModalPlaylistAddTo() → {void}
Initializes the playlist elements
- Source:
Returns:
- Type
- void
(inner) showAddToPlaylist(type, entities, entityNamesopt) → {void}
Shows the add to playlist modal
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
type |
string | one off album, disc, search, song, stream, searchdir | |
entities |
Array | entities to add | |
entityNames |
Array |
<optional> |
entity names to add (only for display) |
- Source:
Returns:
- Type
- void
(inner) toggleAddToPlaylistFrm(target) → {void}
Toggles the view in the add to playlist modal
Parameters:
Name | Type | Description |
---|---|---|
target |
EventTarget | event target |
- Source:
Returns:
- Type
- void