refactor(Lifecycle hooks): move the hooks to their own module (lifecycle_hooks)
BREAKING CHANGE Lifecycle hooks now live in the `angular2/lifecycle_hooks` module. They previously lived in the `metadata` module.
This commit is contained in:
17
modules/angular2/lifecycle_hooks.ts
Normal file
17
modules/angular2/lifecycle_hooks.ts
Normal file
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Defines interfaces to be implemented by directives when they need to hook into the change
|
||||
* detection mechanism.
|
||||
*/
|
||||
|
||||
export {
|
||||
AfterContentInit,
|
||||
AfterContentChecked,
|
||||
AfterViewInit,
|
||||
AfterViewChecked,
|
||||
OnChanges,
|
||||
OnDestroy,
|
||||
OnInit,
|
||||
DoCheck
|
||||
} from './src/core/compiler/interfaces';
|
Reference in New Issue
Block a user