import { ChangeDetectionStrategy , Component , Input } from '@angular/core' ; import { TellUsText } from '../form-language/tell-us-text' ; param label param labels param model param multiSelect param name param options @ Component ( { changeDetection : ChangeDetectionStrategy . OnPush , selector : 'tell-us-question' , styleUrls : [ './question.component.scss' ] , templateUrl : './question.component.html' } ) export class QuestionComponent { @ Input ( ) label : string ; @ Input ( ) labels : TellUsText ; @ Input ( ) model : any ; @ Input ( ) multiSelect = false ; @ Input ( ) name : string ; @ Input ( ) options : Array < any > ; param index param item trackByIndex ( index , item ) { return index ; } }