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

Class Dir

packages/core/test/acceptance/authoring/signal_inputs_spec.ts:232–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230
231 it('should support two-way binding to signal input and @Output decorated member', () => {
232 @Directive({selector: '[dir]'})
233 class Dir {
234 value = input(0);
235 @Output() valueChange = new EventEmitter<number>();
236 }
237
238 @Component({
239 template: '<div [(value)]="value" dir></div>',

Callers

nothing calls this directly

Calls 4

DirectiveClass · 0.90
OutputInterface · 0.90
inputFunction · 0.85
requiredMethod · 0.45

Tested by

no test coverage detected