DatepickerComponent
component
Component Metadata
Section titled “Component Metadata”Selector: yuv-datepicker
Standalone: Yes
Implements: ControlValueAccessor, Validator
Inputs
Section titled “Inputs”Type: string
Required: Yes
Type: Date | null
Default Value: null
Methods
Section titled “Methods”registerOnChange
Section titled “registerOnChange”registerOnChange(fn: function): voidArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| fn | function |
registerOnTouched
Section titled “registerOnTouched”registerOnTouched(fn: function): voidArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| fn | function |
setDisabledState
Section titled “setDisabledState”setDisabledState(isDisabled: boolean): voidArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| isDisabled | boolean |
validate
Section titled “validate”validate(_control: AbstractControl): ValidationErrors | nullArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| _control | AbstractControl |
writeValue
Section titled “writeValue”writeValue(value: Date | null): voidArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| value | Date | null |