@covalent/core
Version:
Core Teradata UI Platform for layouts, icons, custom components and themes. This should be added as a dependency for any project that wants to use layouts, icons and themes for Angular Material.
22 lines (21 loc) • 1.39 kB
TypeScript
import { ElementRef } from '@angular/core';
import { ControlValueAccessor, NgControl } from '@angular/forms';
import * as i0 from "@angular/core";
export declare class CovalentTextfieldValueAccessorDirective implements ControlValueAccessor {
private _elementRef;
_ngControl: NgControl;
private _onChange;
private _onTouched;
constructor(_elementRef: ElementRef<any>, _ngControl: NgControl);
writeValue(value: string): void;
registerOnChange(fn: any): void;
registerOnTouched(fn: any): void;
handleChange(event: Event): void;
handleBlur(): void;
setDisabledState(isDisabled: boolean): void;
private _isCheckBox;
private _isRadio;
private _updateValidity;
static ɵfac: i0.ɵɵFactoryDeclaration<CovalentTextfieldValueAccessorDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<CovalentTextfieldValueAccessorDirective, "cv-textfield[formControl], cv-textarea[formControl], cv-select[formControl], cv-checkbox[formControl], cv-checkbox-icon[formControl], cv-radio[formControl], cv-radio-icon[formControl], cv-textfield[formControlName], cv-textarea[formControlName], cv-select[formControlName], cv-checkbox[formControlName], cv-checkbox-icon[formControlName], cv-radio[formControlName], cv-radio-icon[formControlName],", never, {}, {}, never, never, true, never>;
}