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

Class SayHelloPipe

packages/core/test/acceptance/pipe_spec.ts:339–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337 // The generated code corresponds to the following decorator:
338 // @Pipe({name: 'sayHello', pure: true})
339 class SayHelloPipe extends ParentPipe implements PipeTransform {
340 transform() {
341 return this.sayHelloService.getHello();
342 }
343
344 static override ɵfac = (t?: any) => ɵɵgetInheritedFactory(t || SayHelloPipe)(SayHelloPipe);
345 static ɵpipe = ɵɵdefinePipe({
346 name: 'sayHello',
347 type: SayHelloPipe,
348 pure: true,
349 });
350 }
351
352 @Component({
353 template: '{{ value | sayHello }}',

Callers

nothing calls this directly

Calls 2

ɵɵgetInheritedFactoryFunction · 0.90
ɵɵdefinePipeFunction · 0.90

Tested by

no test coverage detected