UNPKG

@favian/headwind-ui

Version:

Headless UI for Angular - Styleless Angular components to integrate with Tailwind CSS

18 lines (17 loc) 673 B
import { ControlValueAccessor } from '@angular/forms'; export declare abstract class HeadwindControlValueAccessor implements ControlValueAccessor { isDisabled: boolean; private readonly _internalNgControl; private readonly _internalRenderer; private readonly _internalElementRef; protected constructor(); onChange: (value: any) => void; onTouched: () => void; abstract writeValue(obj: any): void; registerOnChange(fn?: (value: any) => void): void; registerOnTouched(fn?: () => void): void; setDisabledState(isDisabled: boolean): void; updateValue(value: any): void; private _setAttribute; private _removeAttribute; }