File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { ifThenElseTemplate } from "./if-then-else";
9
9
import { nestedNodesTemplate } from "./nested-nodes" ;
10
10
import { NgModelTemplate } from "./ng-model" ;
11
11
import { simpleAtLet } from "./simple-at-let" ;
12
+ import { templateLiteral } from "./template-literal" ;
12
13
13
14
export type Template = Record < 'label' | 'content' , string > ;
14
15
@@ -24,4 +25,5 @@ export const templates: Template[] = [
24
25
{ label : 'child component' , content : childComponentTemplate } ,
25
26
{ label : 'simple @let' , content : simpleAtLet } ,
26
27
{ label : 'double binding (banna in a box)' , content : bananaBoxTemplate } ,
28
+ { label : 'template literal' , content : templateLiteral } ,
27
29
] ;
Original file line number Diff line number Diff line change
1
+ export const templateLiteral =
2
+ `<div>{{\`-- \${foo} --\`}}</div>`
You can’t perform that action at this time.
0 commit comments