From 9ed50ad36f436a6a98656917147de9d0768bbbdf Mon Sep 17 00:00:00 2001 From: dario-piotrowicz Date: Tue, 24 May 2022 13:40:49 +0100 Subject: [PATCH] docs: replace wrong hyphen with # in aio cheatsheet (#46125) replace the hyphen symbol wrongly used in the aio cheatsheet doc to create a template variable with the proper # symbol PR Close #46125 --- aio/content/guide/cheatsheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/cheatsheet.md b/aio/content/guide/cheatsheet.md index c709926b402..7723b319bac 100644 --- a/aio/content/guide/cheatsheet.md +++ b/aio/content/guide/cheatsheet.md @@ -27,7 +27,7 @@ | <div title="Hello {{ponyName}}"> | Binds a property to an interpolated string, for example, "Hello Seabiscuit". Equivalent to: <div [title]="'Hello ' + ponyName"> | | <p>   Hello {{ponyName}} </p> | Binds text content to an interpolated string, for example, "Hello Seabiscuit". | | <my-cmp [(title)]="name"> | Sets up two-way data binding. Equivalent to: <my-cmp [title]="name" (titleChange)="name=$event"> | -| <video ‐movieplayer …></video> <button (click)="movieplayer.play()">   Play </button> | Creates a local variable `movieplayer` that provides access to the `video` element instance in data-binding and event-binding expressions in the current template. | +| <video #movieplayer …></video> <button (click)="movieplayer.play()">   Play </button> | Creates a local variable `movieplayer` that provides access to the `video` element instance in data-binding and event-binding expressions in the current template. | | <p *myUnless="myExpression">   … </p> | The asterisk \(`*`\) character turns the current element into an embedded template. Equivalent to: <ng-template [myUnless]="myExpression">   <p>     …   </p> </ng-template> | | <p>   Card No.: {{cardNumber | myCardNumberFormatter}} </p> | Transforms the current value of expression `cardNumber` using the pipe called `myCardNumberFormatter`. | | <p>   Employer: {{employer?.companyName}} </p> | The safe navigation operator \(`?`\) means that the `employer` field is optional and if `undefined`, the rest of the expression should be ignored. |