-import { ChangeDetectorRef, Component, forwardRef, Input, OnInit } from '@angular/core'
+import { ChangeDetectorRef, Component, EventEmitter, forwardRef, Input, OnInit, Output } from '@angular/core'
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'
import { secondsToTime, timeToInt } from '../../../assets/player/utils'
@Input() timestamp: number
@Input() disabled = false
+ @Output() inputBlur = new EventEmitter()
+
timestampString: string
constructor (private changeDetector: ChangeDetectorRef) {}
this.propagateChange(this.timestamp)
}
+
+ this.inputBlur.emit()
}
}