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

18 lines
329 B
TypeScript

/**
* @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';