mirror of
https://github.com/koel/koel
synced 2024-12-21 01:53:11 +00:00
22 lines
451 B
JavaScript
22 lines
451 B
JavaScript
|
/**
|
||
|
* Add necessary functionalities into a view that triggers artist or album details views.
|
||
|
*/
|
||
|
|
||
|
export default {
|
||
|
methods: {
|
||
|
/**
|
||
|
* Load the album details screen.
|
||
|
*/
|
||
|
viewAlbumDetails(album) {
|
||
|
this.$root.loadAlbum(album);
|
||
|
},
|
||
|
|
||
|
/**
|
||
|
* Load the artist details screen.
|
||
|
*/
|
||
|
viewArtistDetails(artist) {
|
||
|
this.$root.loadArtist(artist);
|
||
|
},
|
||
|
},
|
||
|
};
|