show album name and play button on scroll down

This commit is contained in:
geoffrey45
2022-06-09 10:43:14 +03:00
parent 6aad05084f
commit 843a80f4a3
4 changed files with 51 additions and 12 deletions
+13
View File
@@ -0,0 +1,13 @@
import { defineStore } from "pinia";
export default defineStore("navmanagement", {
state: () => ({
showPlay: true,
}),
actions: {
toggleShowPlay() {
this.showPlay = !this.showPlay;
console.log(this.showPlay);
},
},
});