mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
show album name and play button on scroll down
This commit is contained in:
@@ -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);
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user