UNPKG

forms-reactive

Version:

Reactive Form Web Component

43 lines (42 loc) 1.67 kB
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright AppFeel (Bit Genoma Digital Solutions SL) All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/appfeel/reactive-forms/LICENSE */ /** * @module * @description * This module is used for handling user input, by defining and building a `FormGroup` that * consists of `FormControl` objects, and mapping them onto the DOM. `FormControl` * objects can then be used to read information from the form DOM elements. * * Forms providers are not included in default providers; you must import these providers * explicitly. */ import { FormBuilder } from './form_builder'; import { AbstractControl, FormArray, FormControl, FormGroup } from './model'; import { Validators } from './validators'; export { AsyncValidator, AsyncValidatorFn, ValidationErrors, Validator, ValidatorFn } from './directives/validators'; export { FormBuilder } from './form_builder'; export { AbstractControl, AbstractControlOptions, FormArray, FormControl, FormGroup } from './model'; export { Validators } from './validators'; export { ReactiveFormStatus } from './types'; declare global { interface Window { FormBuilder: typeof FormBuilder; Validators: typeof Validators; AbstractControl: typeof AbstractControl; FormArray: typeof FormArray; FormControl: typeof FormControl; FormGroup: typeof FormGroup; } }