angular-docs-cn/modules/angular2/angular2.ts

68 lines
1.2 KiB
TypeScript
Raw Normal View History

/**
* The `angular2` is the single place to import all of the individual types.
*/
export * from 'angular2/annotations';
export * from 'angular2/core';
export {
DehydratedException,
ExpressionChangedAfterItHasBeenChecked,
ChangeDetectionError,
ON_PUSH,
DEFAULT,
ChangeDetectorRef,
Pipes,
WrappedValue,
Pipe,
PipeFactory,
NullPipe,
NullPipeFactory,
defaultPipes,
BasePipe,
Locals
} from './change_detection';
export * from './di';
export * from './forms';
export * from './directives';
export {
AbstractControl,
AbstractControlDirective,
Control,
ControlGroup,
ControlArray,
NgControlName,
NgFormControl,
NgModel,
NgControl,
NgControlGroup,
NgFormModel,
NgForm,
ControlValueAccessor,
DefaultValueAccessor,
CheckboxControlValueAccessor,
SelectControlValueAccessor,
formDirectives,
Validators,
NgValidator,
NgRequiredValidator,
FormBuilder,
formInjectables
} from './forms';
export * from './http';
export {
EventDispatcher,
Renderer,
RenderElementRef,
RenderViewRef,
RenderProtoViewRef
} from 'angular2/src/render/api';
export {DomRenderer, DOCUMENT_TOKEN} from 'angular2/src/render/dom/dom_renderer';