@clr/angular
Version:
Angular components for Clarity
22 lines (21 loc) • 769 B
TypeScript
import { OnDestroy } from '@angular/core';
import { Observable } from 'rxjs';
import { NgControlService } from '../providers/ng-control.service';
import * as i0 from "@angular/core";
export declare enum CONTROL_STATE {
NONE = "NONE",
VALID = "VALID",
INVALID = "INVALID"
}
export declare class IfControlStateService implements OnDestroy {
private ngControlService;
private subscriptions;
private control;
private _statusChanges;
constructor(ngControlService: NgControlService);
get statusChanges(): Observable<CONTROL_STATE>;
ngOnDestroy(): void;
triggerStatusChange(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<IfControlStateService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<IfControlStateService>;
}