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

Class InputComp

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

Source from the content-addressed store, hash-verified

43
44 it('should be possible to bind to an input', () => {
45 @Component({
46 selector: 'input-comp',
47 template: 'input:{{input()}}',
48 })
49 class InputComp {
50 input = input<number>();
51 }
52
53 @Component({
54 template: `<input-comp [input]="value" />`,

Callers

nothing calls this directly

Calls 3

ComponentInterface · 0.90
computedFunction · 0.90
inputMethod · 0.80

Tested by

no test coverage detected