MCPcopy Create free account
hub / github.com/angular/angular / CountingPipe

Class CountingPipe

packages/core/test/linker/change_detection_integration_spec.ts:1780–1788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1778}
1779
1780@Pipe({
1781 name: 'countingPipe',
1782})
1783class CountingPipe implements PipeTransform {
1784 state: number = 0;
1785 transform(value: any) {
1786 return `${value} state:${this.state++}`;
1787 }
1788}
1789
1790@Pipe({
1791 name: 'countingImpurePipe',

Callers

nothing calls this directly

Calls 1

PipeInterface · 0.90

Tested by

no test coverage detected