Browse Source

docs: escape curly braces

pull/3322/head
mehmet-erim 7 years ago
parent
commit
a709c4ff8b
  1. 8
      docs/en/UI/Angular/Track-By-Service.md

8
docs/en/UI/Angular/Track-By-Service.md

@ -47,7 +47,7 @@ You can use `by` to get a `TrackByFunction` that tracks the iterated object base
```html ```html
<!-- template of DemoComponent --> <!-- template of DemoComponent -->
<div *ngFor="let item of list; trackBy: track.by('id')">{{ item.name }}</div> <div *ngFor="let item of list; trackBy: track.by('id')">{%{{{ item.name }}}%}</div>
``` ```
@ -62,7 +62,7 @@ import { trackBy } from "@abp/ng.core";
<div <div
*ngFor="let item of list; trackBy: trackById" *ngFor="let item of list; trackBy: trackById"
> >
{{ item.name }} {%{{{ item.name }}}%}
</div> </div>
`, `,
}) })
@ -85,7 +85,7 @@ You can use `byDeep` to get a `TrackByFunction` that tracks the iterated object
<div <div
*ngFor="let item of list; trackBy: track.byDeep('tenant', 'account', 'id')" *ngFor="let item of list; trackBy: track.byDeep('tenant', 'account', 'id')"
> >
{{ item.tenant.name }} {%{{{ item.tenant.name }}}%}
</div> </div>
``` ```
@ -101,7 +101,7 @@ import { trackByDeep } from "@abp/ng.core";
<div <div
*ngFor="let item of list; trackBy: trackByTenantAccountId" *ngFor="let item of list; trackBy: trackByTenantAccountId"
> >
{{ item.name }} {%{{{ item.name }}}%}
</div> </div>
`, `,
}) })

Loading…
Cancel
Save