angular-cn/modules/angular2/forms.ts

25 lines
813 B
TypeScript
Raw Normal View History

/**
* @module
* @public
* @description
* This module is used for handling user input, by defining and building a {@link ControlGroup} that
* consists of
* {@link Control} objects, and mapping them onto the DOM. {@link Control} objects can then be used
* to read information
* from the form DOM elements.
2015-04-10 14:15:01 -04:00
*
* This module is not included in the `angular2` module; you must import the forms module
* explicitly.
*
*/
export * from './src/forms/model';
export * from './src/forms/directives';
2015-02-24 14:59:10 -05:00
export * from './src/forms/validators';
export * from './src/forms/directives/validators';
2015-04-10 14:15:01 -04:00
export * from './src/forms/form_builder';
import {FormBuilder} from './src/forms/form_builder';
import {CONST_EXPR, Type} from './src/facade/lang';
export const formInjectables: List<Type> = CONST_EXPR([FormBuilder]);