Commits

Davide Negretti authored d95d5753b44
[DURACOM-195] New host-window service methods
No tags

src/app/shared/testing/host-window-service.stub.ts

Modified
13 13 this.width = width;
14 14 }
15 15
16 16 isXs(): Observable<boolean> {
17 17 return observableOf(this.width < 576);
18 18 }
19 19
20 20 isXsOrSm(): Observable<boolean> {
21 21 return this.isXs();
22 22 }
23 +
24 + isMobile(): Observable<boolean> {
25 + return this.isXs();
26 + }
23 27 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut