2015-05-01 14:05:19 -07:00
|
|
|
// TODO:vsavkin Use enums after switching to TypeScript
|
|
|
|
|
|
|
|
// HACK: workaround for Traceur behavior.
|
|
|
|
// It expects all transpiled modules to contain this marker.
|
|
|
|
// TODO: remove this when we no longer use traceur
|
|
|
|
export var __esModule = true;
|
2015-03-30 16:54:10 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* CHECK_ONCE means that after calling detectChanges the mode of the change detector
|
|
|
|
* will become CHECKED.
|
|
|
|
*/
|
2015-05-01 14:05:19 -07:00
|
|
|
export const CHECK_ONCE = "CHECK_ONCE";
|
2015-03-30 16:54:10 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* CHECKED means that the change detector should be skipped until its mode changes to
|
|
|
|
* CHECK_ONCE or CHECK_ALWAYS.
|
|
|
|
*/
|
2015-05-01 14:05:19 -07:00
|
|
|
export const CHECKED = "CHECKED";
|
2015-03-30 16:54:10 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* CHECK_ALWAYS means that after calling detectChanges the mode of the change detector
|
|
|
|
* will remain CHECK_ALWAYS.
|
|
|
|
*/
|
2015-05-01 14:05:19 -07:00
|
|
|
export const CHECK_ALWAYS = "ALWAYS_CHECK";
|
2015-03-30 16:54:10 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* DETACHED means that the change detector sub tree is not a part of the main tree and
|
|
|
|
* should be skipped.
|
|
|
|
*/
|
2015-05-01 14:05:19 -07:00
|
|
|
export const DETACHED = "DETACHED";
|
2015-03-30 16:54:10 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* ON_PUSH means that the change detector's mode will be set to CHECK_ONCE during hydration.
|
|
|
|
*/
|
|
|
|
export const ON_PUSH = "ON_PUSH";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* DEFAULT means that the change detector's mode will be set to CHECK_ALWAYS during hydration.
|
|
|
|
*/
|
|
|
|
export const DEFAULT = "DEFAULT";
|