We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f68d8c commit fe6c8aeCopy full SHA for fe6c8ae
1 file changed
MangoAPI.Client/src/app/services/states/blackCoverState.service.ts
@@ -0,0 +1,23 @@
1
+import { Injectable } from '@angular/core';
2
+
3
4
+@Injectable({
5
+ providedIn: 'root'
6
+})
7
+export class BlackCoverStateService {
8
+ public isBlackCoverShowing: boolean = false;
9
+ public picture: string | null = null;
10
11
12
+ public setIsBlackCoverShowing = (value: boolean) => {
13
+ this.isBlackCoverShowing = value;
14
+ }
15
16
+ public setPicture = (fileName: string) => {
17
+ this.picture = fileName;
18
19
20
+ public setPictureNull = () => {
21
+ this.picture = null;
22
23
+}
0 commit comments