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

78 lines
1.4 KiB
TypeScript

export {
DehydratedException,
ExpressionChangedAfterItHasBeenChecked,
ChangeDetectionError,
ChangeDetection,
ON_PUSH,
DEFAULT,
ChangeDetectorRef,
PipeRegistry,
WrappedValue,
Pipe,
PipeFactory,
NullPipe,
NullPipeFactory,
defaultPipes,
DynamicChangeDetection,
JitChangeDetection,
PreGeneratedChangeDetection,
preGeneratedProtoDetectors,
defaultPipeRegistry
} from './change_detection';
export {
Inject,
InjectPromise,
InjectLazy,
Optional,
Injectable,
forwardRef,
resolveForwardRef,
ForwardRefFn,
Injector,
Binding,
bind,
Key,
NoBindingError,
AbstractBindingError,
AsyncBindingError,
CyclicDependencyError,
InstantiationError,
InvalidBindingError,
NoAnnotationError,
OpaqueToken
} from './di';
export * from './core';
export * from './annotations';
export * from './directives';
export {
AbstractControl,
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 {Observable, EventEmitter} from 'angular2/src/facade/async';
export * from 'angular2/src/render/api';
export {DomRenderer, DOCUMENT_TOKEN} from 'angular2/src/render/dom/dom_renderer';