Ajout d'un système de cache des

requêtes HTTP
This commit is contained in:
Sébastien André
2019-11-19 22:42:43 +01:00
parent fb2699f974
commit 53ff769188
15 changed files with 257 additions and 164 deletions

View File

@@ -0,0 +1,14 @@
import { Injectable } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
@Injectable()
export class ServiceComm {
private componentTitleSource = new BehaviorSubject<string>('');
componentTitle = this.componentTitleSource.asObservable();
constructor() { }
updatedComponentTitle(title: string) {
this.componentTitleSource.next(title);
}
}