MCPcopy Index your code
hub / github.com/angular/angular / Dir

Class Dir

packages/core/test/acceptance/authoring/output_function_spec.ts:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22describe('output() function', () => {
23 it('should support emitting values', () => {
24 @Directive({
25 selector: '[dir]',
26 })
27 class Dir {
28 onBla = output<number>();
29 }
30
31 @Component({
32 template: '<div dir (onBla)="values.push($event)"></div>',

Callers

nothing calls this directly

Calls 4

DirectiveClass · 0.90
outputFunction · 0.90
outputFromObservableFunction · 0.90
nextMethod · 0.45

Tested by

no test coverage detected