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) → {void}
Shows the add to playlist modal
Parameters:
Name | Type | Description |
---|---|---|
type |
string | one off album, disc, search, song, stream, searchdir |
entities |
Array | entities to add |
- 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