Skip to content

Commit

Permalink
docs: fix angle brackets in details code block (#47400)
Browse files Browse the repository at this point in the history
Angle brackets are not showing inside the markdown code block by writing like < >.
PR Close #47400
  • Loading branch information
rawatdev authored and dylhunn committed Sep 12, 2022
1 parent 2d7ce00 commit 47ed62f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aio/content/guide/cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
| Class field decorators for directives and components | Details |
|:--- |:--- |
| <code-example format="typescript" hideCopy language="typescript"> import { Input, &hellip; } from '&commat;angular/core'; </code-example> | Import `Input, ...` from `@angular/core`. |
| <code-example format="typescript" hideCopy language="typescript"> &commat;Input() myProperty; </code-example> | Declares an input property that you can update using property binding \(example: `&lt;my-cmp [myProperty]="someExpression"&gt;`\). |
| <code-example format="typescript" hideCopy language="typescript"> &commat;Output() myEvent = new EventEmitter(); </code-example> | Declares an output property that fires events that you can subscribe to with an event binding \(example: `&lt;my-cmp (myEvent)="doSomething()"&gt;`\). |
| <code-example format="typescript" hideCopy language="typescript"> &commat;Input() myProperty; </code-example> | Declares an input property that you can update using property binding \(example: `<my-cmp [myProperty]="someExpression">`\). |
| <code-example format="typescript" hideCopy language="typescript"> &commat;Output() myEvent = new EventEmitter(); </code-example> | Declares an output property that fires events that you can subscribe to with an event binding \(example: `<my-cmp (myEvent)="doSomething()">`\). |
| <code-example format="typescript" hideCopy language="typescript"> &commat;HostBinding('class.valid') isValid; </code-example> | Binds a host element property \(here, the CSS class `valid`\) to a directive/component property \(`isValid`\). |
| <code-example format="typescript" hideCopy language="typescript"> &commat;HostListener('click', ['&dollar;event']) onClick(e) {&hellip;} </code-example> | Subscribes to a host element event \(`click`\) with a directive/component method \(`onClick`\), optionally passing an argument \(`$event`\). |
| <code-example format="typescript" hideCopy language="typescript"> &commat;ContentChild(myPredicate) myChildComponent; </code-example> | Binds the first result of the component content query \(`myPredicate`\) to a property \(`myChildComponent`\) of the class. |
Expand Down

0 comments on commit 47ed62f

Please sign in to comment.