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

Class IntervalDirComponent

packages/examples/core/ts/metadata/directives.ts:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 selector: 'app-interval-dir',
36})
37export class IntervalDirComponent {
38 everySecond = output<string>();
39 everyFiveSeconds = output<string>();
40
41 constructor() {
42 setInterval(() => this.everySecond.emit('event'), 1000);
43 setInterval(() => this.everyFiveSeconds.emit('event'), 5000);
44 }
45}
46
47@Component({
48 selector: 'app-my-output',

Callers

nothing calls this directly

Calls 1

outputFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…