angular-cn/modules/angular2/annotations.ts

54 lines
1.1 KiB
TypeScript
Raw Normal View History

2015-03-17 19:29:27 -04:00
/**
* @module
* @description
2015-04-10 14:15:01 -04:00
*
* Annotations provide the additional information that Angular requires in order to run your
* application. This module
* contains {@link Component}, {@link Directive}, and {@link View} annotations, as well as
* {@link Parent} and {@link Ancestor} annotations that are
2015-04-10 14:15:01 -04:00
* used by Angular to resolve dependencies.
*
2015-03-17 19:29:27 -04:00
*/
export {
ComponentAnnotation,
DirectiveAnnotation,
LifecycleEvent
} from './src/core/annotations/annotations';
2015-07-07 16:09:19 -04:00
export {ViewAnnotation} from 'angular2/src/core/annotations/view';
export {QueryAnnotation, AttributeAnnotation} from 'angular2/src/core/annotations/di';
export {
OnAllChangesDone,
OnChange,
OnDestroy,
OnInit,
OnCheck
} from 'angular2/src/core/compiler/interfaces';
export {
Class,
ClassDefinition,
ParameterDecorator,
TypeDecorator
} from 'angular2/src/util/decorators';
export {
Attribute,
AttributeFactory,
Component,
ComponentDecorator,
ComponentFactory,
Directive,
DirectiveDecorator,
DirectiveFactory,
View,
ViewDecorator,
ViewFactory,
Query,
QueryFactory,
ViewQuery
} from 'angular2/src/core/annotations/decorators';