UNPKG

@clr/angular

Version:

Angular components for Clarity

20 lines (19 loc) 648 B
import { NgControl } from '@angular/forms'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export interface Helpers { show?: boolean; showInvalid?: boolean; showValid?: boolean; showHelper?: boolean; } export declare class NgControlService { private _controlChanges; private _helpers; get controlChanges(): Observable<NgControl>; get helpersChange(): Observable<Helpers>; setControl(control: NgControl): void; setHelpers(state: Helpers): void; static ɵfac: i0.ɵɵFactoryDeclaration<NgControlService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NgControlService>; }