MCPcopy Create free account
hub / github.com/DeborahK/Angular-ReactiveDevelopment / AppComponent

Class AppComponent

swVehicles/src/app/app.component.ts:11–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 styleUrls: ['./app.component.css']
10})
11export class AppComponent {
12 pageTitle = 'Star Wars Vehicle Sales';
13
14 cartCount$ = this.cartService.cartItems$.pipe(
15 map(items => items.length)
16 );
17
18 constructor(private cartService: CartService) {}
19}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected