0
0
Fork 0

Add a popularity modal to the page when clicking on the popularity value (finishes #5 )

This commit is contained in:
Tyler-A 2020-07-07 21:23:48 -06:00
parent 7ea4f89522
commit 4a61eec9ff
11 changed files with 205 additions and 19 deletions

15
app.js
View file

@ -8,7 +8,14 @@ let app = new Vue({
show: {
popularity_popup: false,
popularity_hover: false,
follower_hover: false
follower_hover: false,
modal_content: false,
modal: {
popularity: false,
track: false,
artist: false,
playlist_export: false,
}
},
error: {
main: ``,
@ -67,5 +74,11 @@ let app = new Vue({
})
},
get_data: fetch_data,
hide_modal: function () {
this.show.modal.popularity = false;
this.show.modal.track = false;
this.show.modal.artist = false;
this.show.modal.playlist_export = false;
}
}
})