TimeInputComponent
component
Component Metadata
Section titled “Component Metadata”Selector: yuv-time-input
Standalone: Yes
Implements: ControlValueAccessor, Validator
Inputs
Section titled “Inputs”dayPeriodLabels
Section titled “dayPeriodLabels”Type: DayPeriodLabels
Default Value: DEFAULT_DAY_PERIOD_LABELS
hour12
Section titled “hour12”Type: boolean
Properties
Section titled “Properties”Type: FormGroup
Default Value: this.fb.group(\{ hour: ['', [Validators.required]], minute: ['', [Validators.required, Validators.max(59)]] \})
hourInput
Section titled “hourInput”Type: DateInputHourElementComponent
minuteInput
Section titled “minuteInput”Type: DateInputElementComponent
propagateChange
Section titled “propagateChange”Type: unknown
Default Value: () => \{...\}
validationChange
Section titled “validationChange”Type: unknown
Default Value: () => \{...\}
Methods
Section titled “Methods”registerOnChange
Section titled “registerOnChange”registerOnChange(fn: any): voidArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| fn | any |
registerOnTouched
Section titled “registerOnTouched”registerOnTouched(fn: any): voidArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| fn | any |
registerOnValidatorChange
Section titled “registerOnValidatorChange”registerOnValidatorChange(fn: function): voidArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| fn | function |
validate
Section titled “validate”validate(ac: AbstractControl): ValidationErrors | nullArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| ac | AbstractControl |
writeValue
Section titled “writeValue”writeValue(value: TimeValue): voidArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| value | TimeValue |