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

Class Dir

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

DirectiveClass · 0.90
OutputInterface · 0.90
requiredMethod · 0.45

Tested by

no test coverage detected