Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 2x 2x 2x 1x 1x | import { AfterViewInit, ChangeDetectionStrategy, Component, ElementRef, ViewChild } from '@angular/core';
import { StoreLocatorFacade } from '../../facades/store-locator.facade';
@Component({
selector: 'ish-stores-map',
templateUrl: './stores-map.component.html',
changeDetection: ChangeDetectionStrategy.Default,
})
export class StoresMapComponent implements AfterViewInit {
@ViewChild('mapContainer') mapContainer: ElementRef;
constructor(private storeLocatorFacade: StoreLocatorFacade) {}
ngAfterViewInit() {
this.storeLocatorFacade.loadMap(this.mapContainer.nativeElement);
}
}
|