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

Class InputComp

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

Source from the content-addressed store, hash-verified

42
43 it('should be possible to bind to an input', () => {
44 @Component({
45 selector: 'input-comp',
46 template: 'input:{{input()}}',
47 })
48 class InputComp {
49 input = input<number>();
50 }
51
52 @Component({
53 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