angular-cn/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHas...

32 lines
888 B
Plaintext

p.location-badge.
exported from <a href='../change_detection'>angular2/change_detection</a>
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.34/modules/angular2/src/change_detection/exceptions.ts#L2-L18">angular2/src/change_detection/exceptions.ts (line 2)</a>
:markdown
An error thrown if application changes model breaking the top-down data flow.
Angular expects that the data flows from top (root) component to child (leaf) components.
This is known as directed acyclic graph. This allows Angular to only execute change detection
once and prevents loops in change detection data flow.
This exception is only thrown in dev mode.
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(proto: ProtoRecord, change: any, context: any)
:markdown