import { ChangeDetectionStrategy , Component , Input } from '@angular/core' ; import { Router } from '@angular/router' ; import { Event } from '../../event' ; param event param products @ Component ( { changeDetection : ChangeDetectionStrategy . OnPush , selector : 'impact-shakemap-summary' , styleUrls : [ './shakemap-summary.component.scss' ] , templateUrl : './shakemap-summary.component.html' } ) export class ShakemapSummaryComponent { columnsToDisplay = [ 'catalog' , 'mmi' , 'source' , 'description' ] ; @ Input ( ) event : Event ; @ Input ( ) products : Array < any > = [ ] ; router : Router ; constructor ( router ) { this . router = router ; } }