UNPKG

ngx-form-validator-super

Version:

A super flexible and time saving Validation logic handeling directive for Angular Reactive forms.

29 lines (28 loc) 999 B
import { ElementRef } from '@angular/core'; import { NgControl, NgModel, ControlContainer } from '@angular/forms'; import { ValidatorLogic } from './validator-logic'; export declare class NGXFormValidator { private controlContainer; ValidatorLogic: ValidatorLogic; private ele; constructor(controlContainer: ControlContainer, ValidatorLogic: ValidatorLogic, ele: ElementRef); ngOnInit(): void; private SetMutationOserver; private GetSubmitButtons; private OnSubmitBtnClick; btnClickHandler: (event: any) => void; private CallValidation; change(event: any): void; submit(e: any): boolean; openPanel(): void; } export declare class NativeElementInjectorDirective { private el; private control; private model; constructor(el: ElementRef, control: NgControl, model: NgModel); validationContainerId: string; onChange(event: any): void; ngAfterViewInit(): void; private appendNativeElement; }