2015-05-22 16:14:59 -04:00
|
|
|
import {StringMap} from 'angular2/src/facade/collection';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Defines lifecycle method [onChange] called after all of component's bound
|
|
|
|
* properties are updated.
|
|
|
|
*/
|
|
|
|
export interface OnChange { onChange(changes: StringMap<string, any>): void; }
|
2015-05-27 11:07:37 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Defines lifecycle method [onDestroy] called when a directive is being destroyed.
|
|
|
|
*/
|
|
|
|
export interface OnDestroy { onDestroy(): void; }
|
|
|
|
|
2015-05-27 13:14:37 -04:00
|
|
|
/**
|
|
|
|
* Defines lifecycle method [onCheck] called when a directive is being checked.
|
|
|
|
*/
|
|
|
|
export interface OnCheck { onCheck(): void; }
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Defines lifecycle method [onInit] called when a directive is being checked the first time.
|
|
|
|
*/
|
|
|
|
export interface OnInit { onInit(): void; }
|
|
|
|
|
2015-05-27 11:07:37 -04:00
|
|
|
/**
|
2015-05-27 11:08:14 -04:00
|
|
|
* Defines lifecycle method [onAllChangesDone ] called when the bindings of all its children have
|
|
|
|
* been changed.
|
2015-05-27 11:07:37 -04:00
|
|
|
*/
|
2015-05-27 11:08:14 -04:00
|
|
|
export interface OnAllChangesDone { onAllChangesDone(): void; }
|