ngrx-forms
Version:
Proper integration of forms in Angular 4 applications using ngrx
14 lines (13 loc) • 1.19 kB
TypeScript
import { ElementRef, EventEmitter } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { Actions } from '../actions';
import { FormViewAdapter } from '../view-adapter/view-adapter';
import { Document, NgrxFormControlDirective, NgrxFormControlValueType } from './directive';
import * as i0 from "@angular/core";
export declare class NgrxLocalFormControlDirective<TStateValue, TViewValue = TStateValue> extends NgrxFormControlDirective<TStateValue, TViewValue> {
ngrxFormsAction: EventEmitter<Actions<NgrxFormControlValueType<TStateValue>>>;
constructor(el: ElementRef, dom: Document | null, viewAdapters: FormViewAdapter[], valueAccessors: ControlValueAccessor[]);
protected dispatchAction(action: Actions<NgrxFormControlValueType<TStateValue>>): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NgrxLocalFormControlDirective<any, any>, [null, { optional: true; }, { optional: true; self: true; }, { optional: true; self: true; }]>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NgrxLocalFormControlDirective<any, any>, "[ngrxFormControlState][ngrxFormsAction]", never, {}, { "ngrxFormsAction": "ngrxFormsAction"; }, never>;
}