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

99 lines
1.8 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';
// TO BE CLEANED UP.
export {
DehydratedException,
ExpressionChangedAfterItHasBeenChecked,
ChangeDetectionError,
ChangeDetection,
ON_PUSH,
DEFAULT,
ChangeDetectorRef,
PipeRegistry,
WrappedValue,
Pipe,
PipeFactory,
NullPipe,
NullPipeFactory,
defaultPipes,
DynamicChangeDetection,
JitChangeDetection,
PreGeneratedChangeDetection,
preGeneratedProtoDetectors,
defaultPipeRegistry,
DirectiveIndex,
BindingRecord,
ProtoChangeDetector,
ChangeDispatcher,
ChangeDetector,
Locals,
ChangeDetectorDefinition,
BasePipe,
DirectiveRecord
} from './change_detection';
export {
Inject,
Optional,
Injectable,
forwardRef,
resolveForwardRef,
ForwardRefFn,
Injector,
ProtoInjector,
Binding,
bind,
Key,
NoBindingError,
AbstractBindingError,
AsyncBindingError,
CyclicDependencyError,
InstantiationError,
InvalidBindingError,
NoAnnotationError,
OpaqueToken,
ResolvedBinding,
BindingBuilder,
Dependency,
Visibility,
Self,
Parent,
Ancestor,
Unbounded,
DependencyProvider
} from './di';
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';
2015-04-20 14:34:53 -04:00
export * from 'angular2/src/render/api';
export {DomRenderer, DOCUMENT_TOKEN} from 'angular2/src/render/dom/dom_renderer';