UNPKG

ng-smart-forms

Version:

Zero-config reactive forms with built-in validation, auto-save, and smart error handling for Angular

13 lines (12 loc) 447 B
import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class AutoSaveService { private saveSubject; private statusSubject; constructor(); triggerSave(data: any): void; getSaveStatus(): Observable<'idle' | 'saving' | 'saved' | 'error'>; private saveData; static ɵfac: i0.ɵɵFactoryDeclaration<AutoSaveService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<AutoSaveService>; }