mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
51b8ff23ce
Adds support for using tagged template literals in Angular templates.
Ex:
```
@Component({
template: '{{ greet`Hello, ${name()}` }}'
})
export class MyComp {
name = input();
greet(strings: TemplateStringsArray, name: string) {
return strings[0] + name + strings[1] + '!';
}
}
```
PR Close #59947