Skip to content

Commit 87486a4

Browse files
committed
chore(igxFor): Fix typo in igxForTotalItemCount input
1 parent 79a7a8f commit 87486a4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ All notable changes for each version of this project will be documented in this
126126
```
127127

128128
- `IgxForOf`
129-
- `IgxForOfTotalItemCount` input is added for the cases when the data is from remote services. This will allow setting the count of the items through the template. And gives the opportunity for the developers to use AsyncPipe for this option:
129+
- `IgxForTotalItemCount` input is added for the cases when the data is from remote services. This will allow setting the count of the items through the template. And gives the opportunity for the developers to use AsyncPipe for this option:
130130
```html
131-
<ng-template igxFor let-item [igxForOf]="data | async" [igxForOfTotalItemCount]="count | async"
131+
<ng-template igxFor let-item [igxForOf]="data | async" [igxForTotalItemCount]="count | async"
132132
[igxForContainerSize]="'500px'" [igxForItemSize]="'50px'"></ng-template>
133133
```
134134

projects/igniteui-angular/src/lib/directives/for-of/for_of.directive.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ describe('IgxForOf directive -', () => {
10761076
});
10771077
});
10781078

1079-
describe('remote virtual component with specified igxForOfTotalItemCount', () => {
1079+
describe('remote virtual component with specified igxForTotalItemCount', () => {
10801080
configureTestSuite();
10811081
let fix: ComponentFixture<RemoteVirtCountComponent>;
10821082

projects/igniteui-angular/src/lib/directives/for-of/for_of.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class IgxForOfDirective<T> implements OnInit, OnChanges, DoCheck, OnDestr
145145
* The total count of the virtual data items, when using remote service.
146146
* Similar to the property totalItemCount, but this will allow setting the data count into the template.
147147
* ```html
148-
* <ng-template igxFor let-item [igxForOf]="data | async" [igxForOfTotalItemCount]="count | async"
148+
* <ng-template igxFor let-item [igxForOf]="data | async" [igxForTotalItemCount]="count | async"
149149
* [igxForContainerSize]="'500px'" [igxForItemSize]="'50px'"></ng-template>
150150
* ```
151151
*/

0 commit comments

Comments
 (0)