2015-07-27 22:12:30 -07:00
p.location-badge.
exported from <a href='../change_detection'>angular2/change_detection</a>
2015-08-11 17:09:57 -07:00
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.34/modules/angular2/src/change_detection/change_detection_util.ts#L5-L33">angular2/src/change_detection/change_detection_util.ts (line 5)</a>
2015-07-27 22:12:30 -07:00
:markdown
2015-08-11 17:09:57 -07:00
Indicates that the result of a <a href='../annotations/Pipe-var.html'><code>Pipe</code></a> transformation has changed even though the reference
2015-07-27 22:12:30 -07:00
has not changed.
The wrapped value will be unwrapped by change detection, and the unwrapped value will be stored.
2015-08-11 17:09:57 -07:00
Example:
```
if (this._latestValue === this._latestReturnedValue) {
return this._latestReturnedValue;
} else {
this._latestReturnedValue = this._latestValue;
return WrappedValue.wrap(this._latestValue); // this will force update
}
```
2015-07-27 22:12:30 -07:00
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(wrapped: any)
:markdown
.l-sub-section
h3 wrapped
:markdown