| 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()" />`, |