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