UNPKG

@rxap/forms

Version:

This package provides a set of tools and directives to simplify working with Angular forms, including reactive forms, custom validators, and form directives for handling loading, submitting, and error states. It offers decorators for defining forms and co

17 lines (16 loc) 812 B
import { AfterViewInit, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core'; import { FormDirective } from './form.directive'; import * as i0 from "@angular/core"; export declare class FormLoadingErrorDirective implements AfterViewInit, OnDestroy { private readonly formDirective; private readonly template; private readonly viewContainerRef; private subscription?; constructor(formDirective: FormDirective, template: TemplateRef<{ $implicit: Error; }>, viewContainerRef: ViewContainerRef); ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<FormLoadingErrorDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<FormLoadingErrorDirective, "[rxapFormLoadingError]", never, {}, {}, never, never, true, never>; }