mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
|
||
|---|---|---|
| .. | ||
| integrationtest | ||
| linker | ||
| ngcc | ||
| private | ||
| src | ||
| test | ||
| BUILD.bazel | ||
| esbuild.config.js | ||
| index.ts | ||
| package.json | ||
| tsconfig-build.json | ||
| tsconfig.json | ||